Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting error "DataEncoding: null" in server response #4675

Closed
asfimport opened this issue Jan 22, 2018 · 1 comment
Closed

getting error "DataEncoding: null" in server response #4675

asfimport opened this issue Jan 22, 2018 · 1 comment

Comments

@asfimport
Copy link
Collaborator

Ajay Sanodaria (Bug 62029):
Hi,

Steps taken:
I have recorded a script through BlazeMeter and exported it into .jmx format.
I am getting error code Response code: 400
Response message: BAD REQUEST while runngig a script.
HTTPSampleResult fields:
ContentType: application/json
DataEncoding: null

It's throwing this error when pop up wizard is come in picture.


Request:

POST data:
---2XjOrgvPmAhzM8OuXmi0HM39s7GZ0
Content-Disposition: form-data; name="cmd"
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit

Cookie Data:
user_id=; system_user=; full_name=; sid=7c4ef699eea3edfd8b624e1825d8b0d12dc2c07738d56200c74f0c55; io=u6PHhNN_ZQYYSqinAAIx

Request Headers:
Connection: keep-alive
Accept: application/json, text/javascript, /; q=0.01
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Accept-Language: en-US,en;q=0.9,gu;q=0.8
Accept-Encoding: gzip, deflate
Content-Length: 245
Content-Type: multipart/form-data; boundary=-2XjOrgvPmAhzM8OuXmi0HM39s7GZ0
Host:


Sampler Result:

Thread Name: Thread Group 1-1
Sample Start: 2018-01-22 18:46:30 IST
Load time: 529
Connect Time: 2
Latency: 529
Size in bytes: 555
Sent bytes:834
Headers size in bytes: 452
Body size in bytes: 103
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""): text
Response code: 400
Response message: BAD REQUEST

Response headers:
HTTP/1.1 400 BAD REQUEST
Server: nginx/1.10.3 (Ubuntu)
Date: Mon, 22 Jan 2018 13:18:04 GMT
Content-Type: application/json
Content-Length: 103
Connection: keep-alive
Set-Cookie: user_image=; Path=/
Set-Cookie: user_id=; Path=/
Set-Cookie: system_user=yes; Path=/
Set-Cookie: full_name=; Path=/
Set-Cookie: sid=7c4ef699eea3edfd8b624e1825d8b0d12dc2c07738d56200c74f0c55; Expires=Thu, 25-Jan-2018 13:18:04 GMT; Path=/

HTTPSampleResult fields:
ContentType: application/json
DataEncoding: null

Severity: blocker
OS: All

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
Hello,
From your report:
1/ I don't understand what error you get in "popup wizard" ?
2/ DataEncoding null is not an error
3/ Can you explain the full process you do ?
4/ Blazemeter recorder is a 3rd party tool , the issue might be there. Try using core JMeter recorder

Bugzilla is not a support forum, please user mailing list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant