allegro
11 years agoNew Contributor
JSON body is empty for POST requests for maven plugin
I'm using Open Source SoapUI 5.0
I faced to the next issue:
The request looks like below:
I'm using soapui-maven-plugin version 5.0 (the same issue on 5.1 as well) to run tests written by the UI.
For windows it works pretty well the plugin sends the next request:
but for Linux there is content-length, but no body:
It looks like a bug. I've attached both files for Window and Linux with full output for the test step.
Any comments?
I faced to the next issue:
The request looks like below:
POST http://localhost:9090/jira-web-service-war-3.0.0.0.0-SNAPSHOT/api/jira HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/json;charset=UTF-8
Accept: Application/json
{
"issueKey": "ASASNAPIN-590",
"status": "FINISHED",
"description": "SoapUI Test - 'Get queries list'"
}
I'm using soapui-maven-plugin version 5.0 (the same issue on 5.1 as well) to run tests written by the UI.
For windows it works pretty well the plugin sends the next request:
POST http://localhost:7070/jira-web-service-war/api/jira HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/json;charset=UTF-8
Accept: Application/json
Content-Length: 116
Host: localhost:7070
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
"issueKey": "ASASNAPIN-590",
"status": "FINISHED",
"description": "SoapUI Test - 'Get queries list'"
}
but for Linux there is content-length, but no body:
POST http://localhost:7070/jira-web-service-war/api/jira HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/json;charset=UTF-8
Accept: Application/json
Content-Length: 116
Host: localhost:7070
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
It looks like a bug. I've attached both files for Window and Linux with full output for the test step.
Any comments?