0% found this document useful (0 votes)
232 views

Jmeter Errors

The document describes a POST request sent to an API to retrieve an access token. The request includes username, password, client ID, client secret, and other authentication parameters. The response returned a 133 byte body and an error code of 1006, indicating the WebSocket connection was closed unexpectedly by the server.

Uploaded by

mishrasaroj05
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
232 views

Jmeter Errors

The document describes a POST request sent to an API to retrieve an access token. The request includes username, password, client ID, client secret, and other authentication parameters. The response returned a 133 byte body and an error code of 1006, indicating the WebSocket connection was closed unexpectedly by the server.

Uploaded by

mishrasaroj05
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

POST Request

==========================================================================
POST http://192.168.10.42/api/oAuth/token?rnd=fv8p7ca
POST data:
{"password":"Kore@12345","client_id":"1","client_secret":"1","scope":"friends","
grant_type":"password","username":"[email protected]"}
[no cookies]
Request Headers:
Connection: close
Accept-Language: en-US,en;q=0.5
Pragma: no-cache
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Content-Type: application/json;charset=UTF-8
Cache-Control: no-cache
Accept-Encoding: gzip, deflate
Authorization: bearer ${accessToken}
Content-Length: 142
Host: 192.168.10.42
User-Agent: Apache-HttpClient/4.2.6 (java 1.5)
==========================================================================
Websocket Sampler Error Info
============================
Thread Name: Thread Group-1-OnlyOneThreadMoreMsgs-OnePhoto 1-4
Sample Start: 2016-03-02 19:18:02 IST
Load time: 85020
Connect Time: 0
Latency: 0
Size in bytes: 133
Headers size in bytes: 0
Body size in bytes: 133
Sample Count: 1
Error Count: 1
Response code: 1006
Response message:
[Execution Flow]
- Opening new connection
- Using response message pattern "disconnect"
- Using disconnect pattern "ssd"
- Waiting for the server connection for 3600000 MILLISECONDS
- WebSocket conection has been opened
- Connection established
- Waiting for messages for 3600000 MILLISECONDS
- Received message #1 (3 bytes); didn't match any pattern
- Received message #2 (85 bytes); didn't match any pattern
- Received message #3 (3 bytes); didn't match any pattern
- WebSocket conection closed unexpectedly by the server: [1006] Read EOF
- WebSocket session closed by the client
- WebSocket client closed by the client
[Variables]
- Message count: 3

[Problems]
Response headers:
SampleResult fields:
==========================================================================
Ping-Pong error
===============
2016/03/02 19:23:53 INFO - jmeter.engine.StandardJMeterEngine: Running the test
!
2016/03/02 19:23:53 INFO - jmeter.samplers.SampleEvent: List of sample_variable
s: []
2016/03/02 19:23:53 WARN - jmeter.reporters.ResultCollector: Error creating dir
ectories for G:\apache-jmeter-2.13\Results
2016/03/02 19:23:53 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,*loca
l*)
2016/03/02 19:23:54 INFO - jmeter.engine.StandardJMeterEngine: Starting ThreadG
roup: 1 : Thread Group-1-OnlyOneThreadMoreMsgs-OnePhoto
2016/03/02 19:23:54 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threa
ds for group Thread Group-1-OnlyOneThreadMoreMsgs-OnePhoto.
2016/03/02 19:23:54 INFO - jmeter.engine.StandardJMeterEngine: Thread will cont
inue on error
2016/03/02 19:23:54 INFO - jmeter.threads.ThreadGroup: Starting thread group nu
mber 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false
2016/03/02 19:23:54 INFO - jmeter.threads.ThreadGroup: Started thread group num
ber 1
2016/03/02 19:23:54 INFO - jmeter.engine.StandardJMeterEngine: All thread group
s have been started
2016/03/02 19:23:54 INFO - jmeter.threads.JMeterThread: Thread started: Thread
Group-1-OnlyOneThreadMoreMsgs-OnePhoto 1-1
2016/03/02 19:23:54 INFO - jmeter.services.FileServer: Stored: multiple_users-g
roup.csv
2016/03/02 19:25:21 ERROR - JMeter.plugins.functional.samplers.websocket.Service
Socket: Disconnect 1006: Read EOF
2016/03/02 19:25:21 INFO - jmeter.threads.JMeterThread: Thread is done: Thread
Group-1-OnlyOneThreadMoreMsgs-OnePhoto 1-1
2016/03/02 19:25:21 INFO - jmeter.threads.JMeterThread: Thread finished: Thread
Group-1-OnlyOneThreadMoreMsgs-OnePhoto 1-1
2016/03/02 19:25:21 INFO - jmeter.engine.StandardJMeterEngine: Notifying test l
isteners of end of test
2016/03/02 19:25:21 INFO - jmeter.services.FileServer: Close: multiple_users-gr
oup.csv
2016/03/02 19:25:21 INFO - jmeter.reporters.Summariser: Generate Summary Result
s =
3 in 88.4s =
0.0/s Avg: 28354 Min:
13 Max: 85021 Err:
1 (33.
33%)
2016/03/02 19:25:21 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,*loc
al*)
----------------------------------------------------------------------------------Thread Name: Thread Group-1-OnlyOneThreadMoreMsgs-OnePhoto 1-1
Sample Start: 2016-03-02 19:23:56 IST
Load time: 85021
Connect Time: 0
Latency: 0
Size in bytes: 133
Headers size in bytes: 0
Body size in bytes: 133
Sample Count: 1

Error Count: 1
Response code: 1006
Response message:
[Execution Flow]
- Opening new connection
- Using response message pattern "disconnect"
- Using disconnect pattern "ssd"
- Waiting for the server connection for 3600000 MILLISECONDS
- WebSocket conection has been opened
- Connection established
- Waiting for messages for 3600000 MILLISECONDS
- Received message #1 (3 bytes); didn't match any pattern
- Received message #2 (85 bytes); didn't match any pattern
- Received message #3 (3 bytes); didn't match any pattern
- WebSocket conection closed unexpectedly by the server: [1006] Read EOF
- WebSocket session closed by the client
- WebSocket client closed by the client
[Variables]
- Message count: 3
[Problems]
Response headers:
SampleResult fields:
ContentType:
DataEncoding: UTF-8
----------------------------------------------------------------------------------[Message 1]
1::
[Message 2]
5:::{"name":"status","args":[{"u-c8652c09-5ba7-56f7-a1a6-f0c60e6ecd39":"Availabl
e"}]}
[Message 3]
2::
================================================================================
==========================================
SAMPLER:
Thread Name: Thread Group-1-OnlyOneThreadMoreMsgs-OnePhoto 1-998
Sample Start: 2016-03-02 21:19:20 IST
Load time: 4
Connect Time: 2
Latency: 4
Size in bytes: 685
Headers size in bytes: 148
Body size in bytes: 537
Sample Count: 1
Error Count: 1
Response code: 502

Response message: Bad Gateway


Response headers:
HTTP/1.1 502 Bad Gateway
Server: nginx
Date: Tue, 01 Mar 2016 15:47:37 GMT
Content-Type: text/html
Content-Length: 537
ETag: "55f80b4c-219"
HTTPSampleResult fields:
ContentType: text/html
DataEncoding: null
-------------------------------------------------------Request Data
GET http://192.168.10.47/socket.io/1/?userid=u-bc9570c2-6033-5a39-af5c-b171dd9fa
8fa&access_token=XVzv0RWSUvkixCiu-8r2WAMMrsjVoViMPGto0RunEPr78hw0M8_nRqb2RDNi2Dy
5&channel=7
[no cookies]
Request Headers:
Connection: keep-alive
Authorization: bearer XVzv0RWSUvkixCiu-8r2WAMMrsjVoViMPGto0RunEPr78hw0M8_nRqb2RD
Ni2Dy5
Host: 192.168.10.47
User-Agent: Apache-HttpClient/4.2.6 (java 1.5)
--------------------------------------------------------Response Data
<!DOCTYPE html>
<html>
<head>
<title>Error</title>
<style>
body {
width: 35em;
margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif;
}
</style>
</head>
<body>
<h1>An error occurred.</h1>
<p>Sorry, the page you are looking for is currently unavailable.<br/>
Please try again later.</p>
<p>If you are the system administrator of this resource then you should check
the <a href="http://nginx.org/r/error_log">error log</a> for details.</p>
<p><em>Faithfully yours, nginx.</em></p>
</body>
</html>
================================================================================
=========================

You might also like