Overview
Writing performance tests can be intimidating and time consuming, especially when you are in crunch time trying to ship your feature or your script isn’t recognizing the components you’re trying to click on. Appian Locust Companion (ALC) simplifies the process by streamlining test creation and reducing debugging time, so you can focus on building reliable tests with ease.
Key Features & Functionality
The Appian Locust Companion (ALC) is designed to simplify writing performance tests using the Appian Locust library. It reduces much of the manual effort in writing tests to simply point-and-click. ALC will capture your interactions and convert them into Appian Locust functions with the parameters. It provides an easy way to get started with Appian Locust based performance testing!
As you interact with Appian, the extension processes the requests and outputs Appian Locust functions with relevant parameters, giving you a ready-to-use foundation for your performance tests.
Download it from the Chrome Web Store: https://chromewebstore.google.com/detail/appian-locust-companion/ebgbeodgfnnkgcppfikfoclfmahcmapfCheck out our Documentation at: https://appian-locust.readthedocs.io/en/stable/appian_locust_companion.html
Posting on behalf of a client:
I am working on a Windows laptop that has been set-up by a Corporate and where things like the Chrome version are controlled by their systems and policies.
My Chrome Version is as follows 122.0.6261.70.
I am having problems using the Task recorder or running any robotic tasks because of an error that gets thrown. A snippet of the stack trace is as follows
I have done the usual things such as deleting the Jidoka-workspace cache of the driver as well as not letting Appian get the driver but manually providing it. My additional challenge was thar there doesn't seem to be a driver readily available for that exact version of Chrome. (122.0.6261.70), but I downloaded ones from just before and just after (e.g. https://storage.googleapis.com/chrome-for-testing-public/122.0.6261.6/win32/chromedriver-win32.zip). Regardless of what I do I get the same issue.
I'm not really sure how to proceed. Any advice would be greatly appreciated.
2025-04-08 14:29:44,789|WARN|com.novayre.jidoka.client.impl.JidokaDummyServer.warn:657|Driver could not be initialized: Could not start a new session. Response code 500. Message: unknown error: unhandled inspector error: {"code":-32000,"message":"Target crashed"}(Session info: chrome=122.0.6261.70)Host info: host: 'PF4VV5YM', ip: '192.168.68.106'Build info: version: '4.22.0', revision: 'c5f3146703*'System info: os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.12'Driver info: org.openqa.selenium.chrome.ChromeDriverCommand: [null, newSession {capabilities=[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--test-type, --disable-extensions, start-maximized, --disable-site-isolation-tr..., --disable-web-security], extensions: []}}]}]|SocketWorker-32|502335|67/8,108|2025-04-08 14:29:45,210|INFO|com.novayre.jidoka.client.ClientManager.communication:1506|Sent REQ_JK_STATUS (4633)|alive|502756|67/8,108|2025-04-08 14:29:45,311|INFO|com.novayre.jidoka.client.ClientManager.internalSendCommandRetry:1370|Received REQ_JK_STATUS_OK|alive|502857|67/8,108|2025-04-08 14:29:47,113|INFO|com.novayre.jidoka.client.ClientManager.communication:1506|Sent PING (13)|main|504659|65/8,108|2025-04-08 14:29:47,193|INFO|com.novayre.jidoka.client.ClientManager.internalSendCommandRetry:1370|Received PING_OK|main|504739|65/8,108|2025-04-08 14:29:48,793|ERROR|com.novayre.jidoka.recorder.TaskRecorder.openApplication:800|Cannot start the browser: |SocketWorker-32|506339|65/8,108|com.novayre.jidoka.recorder.OpenBrowserException: java.lang.reflect.UndeclaredThrowableExceptionat com.novayre.jidoka.recorder.steps.generator.BrowserRecorderStepGenerator.initBrowser(BrowserRecorderStepGenerator.java:266)at com.novayre.jidoka.recorder.steps.generator.BrowserRecorderStepGenerator.start(BrowserRecorderStepGenerator.java:233)at com.novayre.jidoka.recorder.TaskRecorder.openApplication(TaskRecorder.java:786)at com.novayre.jidoka.recorder.RecorderUIFacade.switchToApplication(RecorderUIFacade.java:745)at com.novayre.jidoka.recorder.RecorderUIFacade.onMessageListener(RecorderUIFacade.java:524)at com.novayre.jidoka.recorder.session.AuthSession.onMessageListener(AuthSession.java:127)at com.novayre.jidoka.recorder.session.RecorderUIWebSocketServer.onMessage(RecorderUIWebSocketServer.java:131)at org.java_websocket.server.WebSocketServer.onWebsocketMessage(WebSocketServer.java:712)at org.java_websocket.drafts.Draft_6455.processFrameText(Draft_6455.java:986)at org.java_websocket.drafts.Draft_6455.processFrame(Draft_6455.java:910)at org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:401)at org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:233)at org.java_websocket.server.WebSocketServer$WebSocketWorker.doDecode(WebSocketServer.java:1114)at org.java_websocket.server.WebSocketServer$WebSocketWorker.run(WebSocketServer.java:1086)Caused by: java.lang.reflect.UndeclaredThrowableExceptionat jdk.proxy2/jdk.proxy2.$Proxy26.initBrowserWithAutoResolveWebDriver(Unknown Source)at com.novayre.jidoka.recorder.steps.generator.BrowserRecorderStepGenerator.initBrowser(BrowserRecorderStepGenerator.java:264)... 13 moreCaused by: java.lang.reflect.InvocationTargetExceptionat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.base/java.lang.reflect.Method.invoke(Method.java:568)at com.novayre.jidoka.recorder.WebBrowserProxy.invoke(WebBrowserProxy.java:53)... 15 moreCaused by: org.openqa.selenium.WebDriverException: Browser initialization failureBuild info: version: '4.22.0', revision: 'c5f3146703*'System info: os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.12'Driver info: driver.version: unknownat com.novayre.jidoka.browser.impl.WebBrowserSupport.initBrowserLoop(WebBrowserSupport.java:564)at com.novayre.jidoka.browser.impl.WebBrowserSupport.initBrowserWithAutoResolveWebDriver(WebBrowserSupport.java:366)at com.novayre.jidoka.browser.impl.WebBrowserSupportV2.initBrowserWithAutoResolveWebDriver(WebBrowserSupportV2.java:75)... 20 more2025-04-08 14:29:48,807|ERROR|org.java_websocket.WebSocketImpl.closeConnection:555|Exception during channel.close()|cketSelector-44|506353|64/8,108|java.io.IOException: An established connection was aborted by the software in your host machineat java.base/sun.nio.ch.SocketDispatcher.write0(Native Method)at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:54)at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:132)at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:97)at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:53)at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:532)at org.java_websocket.SSLSocketChannel2.close(SSLSocketChannel2.java:390)at org.java_websocket.WebSocketImpl.closeConnection(WebSocketImpl.java:550)at org.java_websocket.WebSocketImpl.closeConnection(WebSocketImpl.java:585)at org.java_websocket.server.WebSocketServer.handleIOException(WebSocketServer.java:670)at org.java_websocket.server.WebSocketServer.run(WebSocketServer.java:412)at java.base/java.lang.Thread.run(Thread.java:842)2025-04-08 14:29:48,808|ERROR|com.novayre.jidoka.recorder.session.RecorderUIWebSocketServer.onError:139|UI WebSocket: An error has occurred, closing WebSocket...|cketSelector-44|506354|64/8,108|java.io.IOException: An established connection was aborted by the software in your host machineat java.base/sun.nio.ch.SocketDispatcher.write0(Native Method)at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:54)at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:132)at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:97)at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:53)at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:532)at org.java_websocket.SSLSocketChannel2.close(SSLSocketChannel2.java:390)at org.java_websocket.WebSocketImpl.closeConnection(WebSocketImpl.java:550)at org.java_websocket.WebSocketImpl.closeConnection(WebSocketImpl.java:585)at org.java_websocket.server.WebSocketServer.handleIOException(WebSocketServer.java:670)at org.java_websocket.server.WebSocketServer.run(WebSocketServer.java:412)at java.base/java.lang.Thread.run(Thread.java:842)