fshutdown / jmeter-websocketsampler Goto Github PK
View Code? Open in Web Editor NEWJMeter - WebSocket Sampler
License: Apache License 2.0
JMeter - WebSocket Sampler
License: Apache License 2.0
I got an exception when running performance test, like: null pointer on the line 149 in ServiceSocket.java. The line is: responseMessage += iterator.next();
public String getResponseMessage() {
String responseMessage = "";
//Iterate through response messages saved in the responeBacklog cache
Iterator<String> iterator = responeBacklog.iterator();
while (iterator.hasNext()) {
responseMessage += iterator.next();
}
return responseMessage;
}
I guess the element had been removed by the poll method in "addResponseMessage" when to fetch it from this iterator.
I try to add a "synchronized object" for both this code block and in the method "addResponseMessage", and this issue is resolved.
My modifications in "getResponseMessage" :
synchronized(responeBacklog)
{
//Iterate through response messages saved in the responeBacklog cache
Iterator<String> iterator = responeBacklog.iterator();
while (iterator.hasNext()) {
responseMessage += iterator.next();
}
}
and in "addResponseMessage":
synchronized(responeBacklog)
{
while (responeBacklog.size() >= messageBacklog) {
responeBacklog.poll();
}
responeBacklog.add(message);
}
I'm not familiar with Java. Above is just my point.
Thanks.
Yong
Hi,
I'm trying to install your plugin but I failed on downloading dependencies.
Can you help me with this?
Thank you, Jaro.
static WebSocketSampler.executor
will be better if it's under control of A Test Plan or some user defined KEY.
my TEMP solution is:
add if(! executor.isTerminated()) executor.shutdownNow();
at the end of public void testEnded(String host)
.
public void testEnded(String host) {
for (ServiceSocket socket : connectionList.values()) {
socket.close();
}
if(! executor.isTerminated()) executor.shutdownNow();
}
I have added websocket sampler in the Jmeter with all the dependencies.
In my recorded script I have put the Websocket sampler after the HTTP request:
https://example.server.com/socket.io/1/?t=${timestamp}
I am getting the response like -
"TSiJ56ESavsfGEQcsBj9:17:60:websocket,xhr-polling,htmlfile,jsonp-polling". So from that I am extracting the socket id/connection id i.e first 20 alphabets and passing in the WSS connection id.
In websocket sampler I am providing following Parameter
path: socket.io/1/websocket/${socid}
connestion id: ${socid}
Response pattern: *Blank
Close connection: *Blank
Request data: 5:::{"name":"join","args":["Ag_1250","${GUID}"]}
But while executing the Script getting this error
[Execution Flow]
[Problems]
I am not sure whether I am using the Websocket in correct way or not. So kindly help me on this
Hi MaciejZaleski,
This websocket sampler is excellent and i have been waiting for this for a long time. I have downloaded and started to use this.
websockets are implemented using engine IO libraries in my application. sometimes sampler works fine and gives proper response for the requests. But sometimes it throws null response as shown below while opening websocket connection.
Please give me a solution for this why it is happening intermittently. do you think that when existing connection is still open while opening another connection, is this happened?
Thread Name: Thread Group 1-1
Sample Start: 2014-05-08 22:08:11 PDT
Load time: 10073
Latency: 0
Size in bytes: 2666
Headers size in bytes: 0
Body size in bytes: 2666
Sample Count: 1
Error Count: 1
Response code:
Response message:
[Execution Flow]
[Variables]
[Problems]
Response headers:
SampleResult fields:
ContentType:
DataEncoding: UTF-8
the websocketsampler doesn't print binary msg from server.
how to fix it?
We are using socket.io as our implementation framework.
In javascript we execute following code after the connection has been established.
socket.emit('listenNotifications', { userId: 3 }, onListenCallback);
From the google Developer tools I see following message is sent.
5:1+::{"name":"listenNotifications","args":[{"userId":3}]}
How can we do this in the jsmeter sampler?
ive just recive this great news
I am using Jmeter with WebSocketSampler.
Now using sampler I am able to simulate the connection establishment but now I have to test the message transfer between the client and server.
Here in wiki you have described to use single socket through complete test, we can use connection ID.
Can you please explain how can I use this feature?(by showing configuration required in Jmeter).
Thank You!
Is it possible to set cookies for websocket connections?
By "HTTP Cookie Manager" or by set vars manually.
I am using your jmeter plugin (version-1.0.2) and test with 320 concurrent users in a thread group using a WebSocket sampler within a long running loop, with setting the username as "Connection Id" and enabling "Streaming connection". I'm having troubles (OutOfMemoryError: unable to create new native thread) and wondered why such a high number of threads:
From a thread dump I see that there are currently:
2480 threads named WebSocketClient@#-#-selector-WebSocketClientSelectorManager@#/'
307 threads named WebSocketClient@#-scheduler
539 threads named WebSocketClient@#-#
The huge number of threads seem to come from each thread creating a new WebSocketClient, which has a thread pool of minimal 8 threads.
As the number of concurrent editors can go way higher than the 320 we tested today, we would need to somehow reduce the number of threads created via the WebSocketSampler. I see that the WebSocketClient constructor allows to also set an Executor object as 2nd parameter. I would therefore suggest to add a:
private static ExecutorService executor = Executors.newCachedThreadPool();
and change the getConnectionSocket() method to look like this:
private ServiceSocket getConnectionSocket() throws URISyntaxException, Exception {
URI uri = getUri();
String connectionId = getThreadName() + getConnectionId();
if (isStreamingConnection() && connectionList.containsKey(connectionId)) {
ServiceSocket socket = connectionList.get(connectionId);
socket.initialize();
return socket;
}
//Create WebSocket client
SslContextFactory sslContexFactory = new SslContextFactory();
sslContexFactory.setTrustAll(isIgnoreSslErrors());
WebSocketClient webSocketClient = new WebSocketClient(sslContexFactory, executor);
ServiceSocket socket = new ServiceSocket(this, webSocketClient);
if (isStreamingConnection()) {
connectionList.put(connectionId, socket);
}
//Start WebSocket client thread and upgrage HTTP connection
webSocketClient.start();
...
I am unable to build. I would like to contribute to the project.
When I run mvn package I get the following :
mvn package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building JMeterWebSocketSampler 1.0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ JMeterWebSocketSampler ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/antony/JMeter-WebSocketSampler-master/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ JMeterWebSocketSampler ---
[INFO] Compiling 10 source files to /home/antony/JMeter-WebSocketSampler-master/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[29,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[291,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[295,15] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[299,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[303,15] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[315,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[319,15] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[363,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[367,15] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[371,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[375,15] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[403,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[407,15] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[411,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[415,15] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[435,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[439,15] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketSampler.java:[68,25] error: constructor ServiceSocket in class ServiceSocket cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketSampler.java:[72,21] error: constructor ServiceSocket in class ServiceSocket cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[29,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[158,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[162,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[166,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[170,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[174,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[178,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[182,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[186,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[190,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[194,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[198,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[202,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[206,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[210,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[214,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[218,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[222,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[226,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[230,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[234,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[238,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[242,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[246,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[250,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[254,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[258,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[262,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[266,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[278,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[282,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[286,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[290,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[294,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[298,24] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[302,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[306,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[29,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[145,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[149,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[153,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[157,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[161,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[165,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[169,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[173,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[177,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[181,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[185,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[189,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[193,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[197,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[201,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[205,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[209,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[213,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[225,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[229,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[233,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[237,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[241,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[245,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[249,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[253,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[265,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[269,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[273,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[277,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[281,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[285,24] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[289,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
/home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[293,15] error: cannot find symbol
[INFO] 91 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.719 s
[INFO] Finished at: 2015-07-15T16:50:11+10:00
[INFO] Final Memory: 19M/174M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project JMeterWebSocketSampler: Compilation failure: Compilation failure:
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[29,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[291,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[295,15] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[299,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[303,15] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[315,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[319,15] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[363,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[367,15] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[371,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[375,15] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[403,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[407,15] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[411,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[415,15] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[435,8] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationConfig.java:[439,15] error: cannot find symbol
[ERROR] class WebSocketApplicationConfig
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketSampler.java:[68,25] error: constructor ServiceSocket in class ServiceSocket cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketSampler.java:[72,21] error: constructor ServiceSocket in class ServiceSocket cannot be applied to given types;
[ERROR] actual and formal argument lists differ in length
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[29,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[158,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[162,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[166,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[170,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[174,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[178,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[182,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[186,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[190,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[194,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[198,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[202,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[206,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[210,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[214,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[218,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[222,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[226,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[230,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[234,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[238,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[242,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[246,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[250,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[254,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[258,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[262,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[266,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[278,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[282,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[286,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[290,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[294,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[298,24] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[302,8] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationRequest.java:[306,15] error: cannot find symbol
[ERROR] class WebSocketApplicationRequest
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[29,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[145,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[149,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[153,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[157,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[161,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[165,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[169,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[173,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[177,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[181,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[185,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[189,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[193,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[197,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[201,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[205,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[209,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[213,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[225,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[229,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[233,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[237,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[241,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[245,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[249,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[253,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[265,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[269,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[273,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[277,15] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[281,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[285,24] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[289,8] error: cannot find symbol
[ERROR] class WebSocketApplicationResponse
[ERROR] /home/antony/JMeter-WebSocketSampler-master/src/main/java/JMeter/plugins/controler/websocketapp/WebSocketApplicationResponse.java:[293,15] error: cannot find symbol
Hello there,
I would like to check out this plugin but how do I go about installing it? Thanks
subj
Already using HTTP Request sampler and HTTP Cookie Manager together. Works well. JSESSIONID cookie is sent for all HTTP Requests.
After some debugging, it seems like the server side websocket is returning a 401 when WebSocket Sampler tries to connect to it. Thus It doesn't appear WebSocket Sampler uses the JSESSIONID from the HTTP Cookie Manager. Are there plans to support that? Is there a workaround?
Note that I've successfully used WebSocket Sampler to drive load before we enabled authentication. It's only since I need to pass the cookie that it is failing.
I have set Close connection pattern as:
Response pattern: NOT_A_CHANCE_TO_CONTINUE_CLOSE_CONNECTION
Close connection pattern: .*
Is is okay but in multi-thread environment sometimes I get an error in Sampler result:
I have found this code in project:
@OnWebSocketClose
public void onClose(int statusCode, String reason) {
if (statusCode != 1000) {
log.error("Disconnect " + statusCode + ": " + reason);
logMessage.append(" - WebSocket conection closed unexpectedly by the server: [").append(statusCode).append("] ").append(reason).append("\n");
error = statusCode;
} else {
logMessage.append(" - WebSocket conection has been successfully closed by the server").append("\n");
log.debug("Disconnect " + statusCode + ": " + reason);
}
//Notify connection opening and closing latches of the closed connection
openLatch.countDown();
closeLatch.countDown();
connected = false;
}
I have read about 1006 Close Code:
1006
1006 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that the connection was closed abnormally, e.g., without sending or receiving a Close control frame.
https://tools.ietf.org/html/rfc6455#section-7.4.1
And I have no idea how to diagnose the underlying reason of this exception.
I have a streaming connection and when I'm generating load higher than 100 users and added more than one loop I'm getting Null pointer exception.
my request data contains:
5:::{"name":"subscribe"}
And it works well but sometimes I got:
Thread Name: Movers 1-190
Sample Start: 2014-03-19 13:30:39 CET
Load time: 1413
Latency: 0
Size in bytes: 0
Headers size in bytes: 0
Body size in bytes: 0
Sample Count: 1
Error Count: 1
Response code:
Response message:
[Execution Flow]
[Variables]
[Problems]
Response headers:
SampleResult fields:
ContentType:
DataEncoding: UTF-8
Hi. It seems to me that you don't stop WebSocketClient when you close a session.
You create and start WebSocketClient in WebSocketSampler but don't stop it and websocketclient thread stays "alive".
You can put client as constructor param and rewrite close method in ServiceSocket
WebSocketSampler
socket = new ServiceSocket(this, webSocketClient);
ServiceSocket
public void close(int statusCode, String statusText) {
if (session != null) {
session.close(statusCode, statusText);
try {
client.stop();
} catch (Exception e) {
log.error("", e);
}
}
logMessage.append(" - WebSocket conection closed by the client").append("\n");
}
Some example or idea of how use over socket.io v 1.x?
i have workflow: several queries one by one. Once i got responce from 1st query, i want fire next one.
So i try to play with "response" section and with no success (
so my 1st request:
{
"command":"auth",
"udid":"${udid}"
}
and i got response:
{"response":"auth","data":{"player":{"__v":0,"nick":"Player_58423","_id":"52f4a76a7f83343908e93a30","invites_sent":[],"invites_recived":[],"blackList":[],"friends":[],"games":[],"play_units":10,"rating":1000,"date_created":"2014-02-07T09:29:14.577Z","lang":"ru","udid":["pseudo_udid_489405"]},"is_new":true}}
{"response":"opponentFound",
"_id":"XXXX"}
and i going to answer him "ok, i take this opponent"
how? Should i create 3th sampler with big response-timeout and place "opponentFound" in response-section, and then create 4th sampler with answer-request, right?
Just clone this down then make it and it fails with multiple errors. Here are a few (yes I imported the maven dependencies):
Error:(29, 9) java: cannot find symbol
symbol: variable querystringAttributesPanel
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(158, 9) java: cannot find symbol
symbol: variable closeConncectionPatternTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(162, 16) java: cannot find symbol
symbol: variable closeConncectionPatternTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(166, 9) java: cannot find symbol
symbol: variable connectionIdTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(170, 16) java: cannot find symbol
symbol: variable connectionIdTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(174, 9) java: cannot find symbol
symbol: variable contentEncodingTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(178, 16) java: cannot find symbol
symbol: variable contentEncodingTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(182, 9) java: cannot find symbol
symbol: variable contextPathTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(186, 16) java: cannot find symbol
symbol: variable contextPathTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(190, 9) java: cannot find symbol
symbol: variable protocolTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(194, 16) java: cannot find symbol
symbol: variable protocolTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(198, 9) java: cannot find symbol
symbol: variable proxyAddressTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(202, 16) java: cannot find symbol
symbol: variable proxyAddressTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(206, 9) java: cannot find symbol
symbol: variable proxyPasswordTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(210, 16) java: cannot find symbol
symbol: variable proxyPasswordTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(214, 9) java: cannot find symbol
symbol: variable proxyPortTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(218, 16) java: cannot find symbol
symbol: variable proxyPortTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(222, 9) java: cannot find symbol
symbol: variable proxyUsernameTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(226, 16) java: cannot find symbol
symbol: variable proxyUsernameTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(230, 9) java: cannot find symbol
symbol: variable responsePatternTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(234, 16) java: cannot find symbol
symbol: variable responsePatternTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(238, 9) java: cannot find symbol
symbol: variable responseTimeoutTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(242, 16) java: cannot find symbol
symbol: variable responseTimeoutTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(246, 9) java: cannot find symbol
symbol: variable connectionTimeoutTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(250, 16) java: cannot find symbol
symbol: variable connectionTimeoutTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(254, 9) java: cannot find symbol
symbol: variable serverAddressTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(258, 16) java: cannot find symbol
symbol: variable serverAddressTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(262, 9) java: cannot find symbol
symbol: variable serverPortTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(266, 16) java: cannot find symbol
symbol: variable serverPortTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(278, 9) java: cannot find symbol
symbol: variable streamingConnectionCheckBox
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(282, 16) java: cannot find symbol
symbol: variable streamingConnectionCheckBox
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(286, 9) java: cannot find symbol
symbol: variable ignoreSslErrorsCheckBox
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(290, 16) java: cannot find symbol
symbol: variable ignoreSslErrorsCheckBox
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(294, 9) java: cannot find symbol
symbol: variable implementationComboBox
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(298, 25) java: cannot find symbol
symbol: variable implementationComboBox
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(302, 9) java: cannot find symbol
symbol: variable messageBacklogTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
Error:(306, 16) java: cannot find symbol
symbol: variable messageBacklogTextField
location: class JMeter.plugins.functional.controler.websocketapp.WebSocketApplicationRequest
I tried recording the echo test on websocket.org.. I couldn't establish a websocket connection. I could do it successfully manually, outside of jmeter.
I have http request defaults, websocket sampler, http cookie manager and recording controller defined in my thread group.
I configured my browser to use a proxy server and defined a http proxy server in my workbench...
I was unable to successfully connect to the echo server while recording.
Does the proxy server need to be defined in the websocket sampler ? I defined it only in http request defaults.
thanks
I am experimenting with the WebSocketSampler and I am able to make requests and I can observe they are received by my server. However, I am not able to observe the response getting back to JMeter.
I've looked at some other threads here and I noticed one here: #9 which contains a screenshot showing a View Results Tree listener showing the response data from a WebSocket Sampler. I, however, am not seeing any response data.
Here is how my case is configured:
Thread Group
The second request that sends the payload has this output in the View Results Tree:
Thread Name: Thread Group 1-1
Sample Start: 2014-11-26 11:22:16 MST
Load time: 7383
Latency: 0
Size in bytes: 1212
Headers size in bytes: 0
Body size in bytes: 1212
Sample Count: 1
Error Count: 0
Response code: 200
Response message:
[Execution Flow]
[Variables]
[Problems]
Response headers:
SampleResult fields:
ContentType:
DataEncoding: UTF-8
How can I observe, and assert on the response data?
I've been running some pretty heavy continuous soak tests using this sampler and I've discovered a memory leak related to the connectionList declared in the ServiceSocket class. Basically what I am doing is looping my threads infinitely and each WebSocketSampler has a unique connection ID for debugging purposes.
Overtime the connectionList HashMap is gradually filling up resulting in the JVMs heap overflowing with redundant references. I've implemented a fix locally that just removes the connection from the collection when it is closed:
@OnWebSocketClose
public void onClose(int statusCode, String reason) {
<output omitted>
close(StatusCode.NORMAL, "JMeter closed session.");
parent.getConnectionList().remove(connectionID); // Remove from collection to prevent leakage.
}
Thread Name: Thread Group 1-1
Sample Start: 2015-04-20 13:18:38 EDT
Load time: 5010
Connect Time: 0
Latency: 0
Size in bytes: 0
Headers size in bytes: 0
Body size in bytes: 0
Sample Count: 1
Error Count: 1
Response code:
Response message:
[Execution Flow]
[Variables]
[Problems]
Response headers:
SampleResult fields:
ContentType:
DataEncoding: UTF-8
Whenever I try to start a new Web Socket Listener I get a ClassNotFound Error. I've put the jar file and all the dependencies in the lib/ext. Below are the screenshots of the errors
Below is the stack trace from the log file
2014/03/25 15:04:24 ERROR - jmeter.gui.GuiPackage: Problem retrieving gui for JMeter.plugins.functional.samplers.websocket.WebSocketSamplerGui java.lang.NoClassDefFoundError: org/apache/jmeter/testelement/TestStateListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at JMeter.plugins.functional.samplers.websocket.WebSocketSamplerGui.createTestElement(WebSocketSamplerGui.java:80)
at org.apache.jmeter.gui.GuiPackage.createTestElement(GuiPackage.java:297)
at org.apache.jmeter.gui.action.AddToTree.doAction(AddToTree.java:68)
at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.ClassNotFoundException: org.apache.jmeter.testelement.TestStateListener
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 31 more
2014/03/25 15:04:28 ERROR - jmeter.gui.action.AddToTree: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/jmeter/testelement/TestStateListener
at org.apache.jmeter.gui.GuiPackage.createTestElement(GuiPackage.java:307)
at org.apache.jmeter.gui.action.AddToTree.doAction(AddToTree.java:68)
at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
[message N] really is in the road on JSON parsing.
how to avoid it?
Thnaks for advice!
how to add header information with websocket sampler like http sampler.i want to send request with some header information with it to the server..but there is no way to add header in web socket sampler
Hi,
Nice plugin for jMeter! Was able to configure and run very quickly. In the View Results Tree, I can see the ws responses from the server, so I know that it is working.
Question: When the WebSocket Sampler runs, I'd like to parse out a report id value from the returned json . For example, the server side websocket returns this:
{"reportId":"12345","status":"COMPLETE"}
Can I use Regular Expression Extractor to parse the response from WebSocket Sampler? I tried it to no avail, but maybe I'm configuring it wrong.
Thanks
Sam
On command promt its errorlevel=1 cliek to contimue not opening gui
My sample is marked as failed because the connection has been closed unexpectedly, however my server is closing connection after 30 seconds.
Could you please add a checkbox for sample where I will be able to set ignore closed connection or when connection close do not mark as failed?
Thread Name: Movers 1-27
Sample Start: 2014-03-19 13:31:00 CET
Load time: 93
Latency: 0
Size in bytes: 1882
Headers size in bytes: 0
Body size in bytes: 1882
Sample Count: 1
Error Count: 1
Response code: 1006
Response message:
[Execution Flow]
Hi All,
ws connection working fine for me. but for wss connections I am facing unknown source error.
Using 1.0.1 version.
Any suggestions?
Error message
Thread Name: In App messaging 1-1
Sample Start: 2015-01-21 14:39:13 IST
Load time: 5333
Latency: 0
Size in bytes: 0
Headers size in bytes: 0
Body size in bytes: 0
Sample Count: 1
Error Count: 1
Response code:
Response message:
[Execution Flow]
[Variables]
[Problems]
Response headers:
SampleResult fields:
ContentType:
DataEncoding: UTF-8
Thanks, Thrilochana
I need to do something like this for my websocket tests:
The system information is the app id, a unique UUID. I can randomize that easily with a User Defined Variable via the UUID function, however, user defined variables are apparently calculated once at the start of the test whereas I need them to be generated at thread group scope.Is there a way to do that? If now, how can I achieve this?
In other words, I need a randomly generated UUID for each thread (acting as a user) which is accessible to each sample in the thread group.
Thanks in advance!
I'm getting the following stack trace while creating a test with 50 threads:
Is this expected?
Hello! I have three websocket samplers which share the connection, the problem is, that response pattern is checked only for the first sampler, it is visible from the sampler execution flow.
1st sampler: http://grab.by/vrt8
2nd sampler config: http://grab.by/vrte and result: http://grab.by/vrtg
This sampler only supports connecting to websocket server, I was wondering if there is a way to send data. Also upon connecting I get the response message from the websocket server but after the succeeding http samples the proceeding messages are not stored on the response data.
Hi @maciejzaleski,
I'm using this plugin for the past month, the setup and sampling was very simple and fast.
We already know the async nature of websocket and in my scenario it's even more highlighted.
Because the server emits a lot of events The sample timeout and the rest of the test (which is based on the certain event) is not relevant any more.
One way I "solved" it is by setting the 'message backlog' to a very high value (around 100) so the sampler will succeed to match the 'Response pattern'.
Is there another way? maybe filter events?
Thanks,
Yarden
what i could do wrong?
6 depences in folder /ext
your jar in same folder.
therer is no any websocket plugin in list of samplers
sorry to bather you again,
is it possible to waiting for responce before sending next one?
Does the Sampler support insertion of custom header (via HTTP Header Manager) and insertion of Cookies (via HTTP Cookie Manager) in the Upgrade request?
I get the following error during the test.
2015/12/02 16:31:26 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.NoClassDefFoundError: org/eclipse/jetty/util/ssl/SslContextFactory
at JMeter.plugins.functional.samplers.websocket.WebSocketSampler.getConnectionSocket(WebSocketSampler.java:74)
at JMeter.plugins.functional.samplers.websocket.WebSocketSampler.sample(WebSocketSampler.java:105)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:434)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
at java.lang.Thread.run(Unknown Source)
Hi
I tried to use this plugin again after failing to find another testing tool to record and replay websocket communications.
I went through the user steps of my test scenario manually using chrome dev-tools and compared the requests with what I had in the recorded jmeter script. The recorded script contained one socket.io request (a http request) but did not contain the second socket.io request that used the websocket protocol. The first socket io request (the http request) establishes a http handshake with the server and if successful returns a websocket sessionid in its response. The second socket io request opens a websocket connection using this websocket session id.
To extract the websocket session id, I added a post processor (Regex extractor) to the first socket io request in the recorded script and used the regex pattern (^.*): and stored it in the variable websocketSessionId
Template
Match:1
I added a websocketSampler in this recorded script and then set webserver and port and added the path as /socket.io/1/websocket/$websocketSessionId$
On replay the first socket io was successful. websocket session id was returned in the response but the second one (the websocketsampler) failed. Both request and response were empty for this request in View Results Tree.
What could I have missed ? Not sure if I have used the regex extractor incorrectly or missed setting something in the websocketsampler.
I have read in some issues here that proxy is not supported by Jetty and hence websocket sampler proxy setting is not possible. I would like to know if that is not supported even now or should I get a newer version somewhere?
Is there an alternative to make websocket testing possible with proxy?
I am able to send HTTP request and receive response successfully after configuring proxy server details.
Hello,
How can we simulate several request-responses?
I clicked on the "Streaming connection" but on the "Request data" I put my multiples messages to send (each on one line) but the 1st request send all my messages in one.
Can someone explain to me how to send more than 1 message.
Thank you
Sorry if this is not issue, but I can't seem to send binary data? I tried multiple ways, but still always get error that states that connection from server closed because it does not handle text. Is there are way to do this? Is it documented somewhere.
Thanks.
Connection established without an error, but getting error during message sending
Meter.plugins.functional.samplers.websocket.ServiceSocket.sendMessage(ServiceSocket.java:131)
JMeter.plugins.functional.samplers.websocket.WebSocketSampler.sample(WebSocketSampler.java:102)
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:434)
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
java.lang.Thread.run(Thread.java:745)
In my scenario, I set up a websocket connection from JMeter to server.
Then JMeter-WebSocketSampler send a text request in WebSocket to the server and the server will response the request with many continuous messages in WebSocket.
Now I have successfully received the 1st response message but then the WebSocketSampler thread and the threadgroup both end.
So my question is how to set up a test plan which could enable me receiving the continuous response messages from the websocket server.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.