Comments (12)
when I choose this :all went well
from jmeter-websocketsampler.
+1 using spring / sockjs / stomp
from jmeter-websocketsampler.
can you please respond on this?
from jmeter-websocketsampler.
Any resolution on the above issue?
I am seeing the same error message
Thread Name: Thread Group 1-1
Sample Start: 2015-03-20 13:43:39 EDT
Load time: 5015
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]
- Opening new connection
- Using response message pattern ""
- Using disconnect pattern ""
- Waiting for the server connection for 5000 MILLISECONDS
- Cannot connect to the remote server
[Variables]
- Message count: 0
[Problems]
- Unexpected error: null
JMeter.plugins.functional.samplers.websocket.ServiceSocket.sendMessage(ServiceSocket.java:156)
JMeter.plugins.functional.samplers.websocket.WebSocketSampler.sample(WebSocketSampler.java:136)
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:434)
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
java.lang.Thread.run(Unknown Source)
Response headers:
SampleResult fields:
ContentType:
DataEncoding:
from jmeter-websocketsampler.
+1
from jmeter-websocketsampler.
+1
from jmeter-websocketsampler.
When the thread group with many number of threads, the issue happened.
But if I set the thread number as 1, the issue will never happen. What's the cause?
Thanks!!!!!!
Thread Name: Thread Group 1-2
Sample Start: 2015-08-23 10:40:31 CST
Load time: 5039
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]
- Opening new connection
- Using response message pattern ""
- Using disconnect pattern ""
- Waiting for the server connection for 5000 MILLISECONDS
- Cannot connect to the remote server
[Variables]
- Message count: 0
[Problems]
- Unexpected error: null
JMeter.plugins.functional.samplers.websocket.ServiceSocket.sendMessage(ServiceSocket.java:156)
JMeter.plugins.functional.samplers.websocket.WebSocketSampler.sample(WebSocketSampler.java:136)
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:434)
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
java.lang.Thread.run(Unknown Source)
Response headers:
SampleResult fields:
ContentType:
DataEncoding: UTF-8
from jmeter-websocketsampler.
According to my experiences ,
There could be 2 reasons:
1)Server could return HTTP 500: Check your server log. if you can't, use Wireshark to see the error.
2)Server could return HTTP 400:
You could override some server header or another connectionId error. Header "Host" can cause sometimes problems.
Call the same url that you generated in browser.
from jmeter-websocketsampler.
Im facing also the same errors. Connection with the socket is not happening and i m getting the following errors in jmeter.
[Problems]
- Unexpected error: null
JMeter.plugins.functional.samplers.websocket.ServiceSocket.sendMessage(ServiceSocket.java:156)
JMeter.plugins.functional.samplers.websocket.WebSocketSampler.sample(WebSocketSampler.java:136)
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:434)
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
java.lang.Thread.run(Unknown Source)
from jmeter-websocketsampler.
+1
from jmeter-websocketsampler.
@MWhyte wondering how did you configure testplan to use spring / sockjs / stomp
from jmeter-websocketsampler.
+1. Having the same issue. Using spring/sockjs/stomp
from jmeter-websocketsampler.
Related Issues (20)
- Websocket testing JMeter Configuration
- extract().response() not working for REST assured. Getting error as "The method extract() is undefined for the type"
- How to identify disabled elements in dropdown in selenium with java? HOT 1
- WebSocket can't connect to remote server HOT 1
- Failing under heavy load HOT 4
- HTTP Header Manager parameters not passed
- Creating more threads on server than specified.
- can't receive expected response message for expected sampler
- Unable to create new connections per iteration- websocket sampler HOT 1
- Cannot get all data for frame
- excuse me?
- Unexpected error: null when run multiple threads
- WebSocket Sampler hangs on for 5000ms HOT 1
- Only the response pattern from first sampler is used
- java.util.LinkedList$ListItr.checkForComodification(Unknown Source)
- weird resizing of config window HOT 3
- WebSocket Connection "Got unexpected status 503"
- issue that i can't explain, on websocket sampler, the jmeter screen keeps on getting wider and wider HOT 4
- Able to connect to socket, but only getting sids and not message I expect
- unable send subprotocols in ws request
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jmeter-websocketsampler.