You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2008/10/14 18:13:40 UTC

DO NOT REPLY [Bug 46007] New: WebServices responses are always 200

https://issues.apache.org/bugzilla/show_bug.cgi?id=46007

           Summary: WebServices responses are always 200
           Product: JMeter
           Version: 2.3.2
          Platform: PC
               URL: http://www.ces.com.uy
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: fltoledo@gmail.com


I receive errors messages in responses to Web Services Requests, but JMeter
shows me a good response with HTTP response code 200. So, I tried to put a
proxy to see the responses, and all of them have code 500.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 46007] WebServices responses are always 200

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46007


CES <fl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




--- Comment #2 from CES <fl...@gmail.com>  2008-10-17 08:21:02 PST ---
I want to add something.
I believe that this is a JMeter bug.

The server http response code is 500, don't care about the content. And JMeter
result shows me that the http response code is 200.

I use the proxy debugger to see the real response of the server. The proxy is
not causing the error.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 46007] WebServices responses are always 200

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46007


Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #13 from Sebb <se...@apache.org>  2008-11-03 17:54:01 PST ---
Empty responses are now flagged as errors


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 46007] WebServices responses are always 200

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46007





--- Comment #12 from Sebb <se...@apache.org>  2008-10-23 04:06:14 PST ---
I've found the problem: the class that reads and parses the HTTP headers is

org.apache.soap.util.net.HTTPUtils

This extracts the status code and response message, but does not do anything
with them.

That version of Soap is obsolete, so it won't be fixed.

I think the most one could do would be to flag an empty response as an error.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 46007] WebServices responses are always 200

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46007


CES <fl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




--- Comment #4 from CES <fl...@gmail.com>  2008-10-20 05:58:07 PST ---
I am using WebServices (SOAP) request.

You can reproduce the error doing a wrong call to your web service. If you send
a invalid parameter I suppose you can get a error code response, and you will
see a 200 (ok) code response instead.

thks


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 46007] WebServices responses are always 200

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46007


CES <fl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




--- Comment #6 from CES <fl...@gmail.com>  2008-10-20 06:41:02 PST ---
NO, i am testing an enterprise aplication, to one of our clients. Sorry,  i can
not share this information :(


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 46007] WebServices responses are always 200

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46007


Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Sebb <se...@apache.org>  2008-10-14 11:40:10 PST ---
This is not really a bug; more of a question for the JMeter user list. Please
use that in future.

Code 200 just means that the server responded successfully.

You need to look at the content of the response to determine whether the
request was successful or not.

This is the same as for HTTP requests.

I've no idea why the proxy causes error 500 to be generated, but it's not a
JMeter problem.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 46007] WebServices responses are always 200

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46007


Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEEDINFO




--- Comment #3 from Sebb <se...@apache.org>  2008-10-17 09:21:43 PST ---
I see now, I misunderstood your original report.

Are you using the WebServices (SOAP) sampler or the SOAP/XML-RPC sampler?

Can you provide a simple test case?
If so, please add this as an attachment, or descibe how to generate the error.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 46007] WebServices responses are always 200

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46007


Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #5 from Sebb <se...@apache.org>  2008-10-20 06:31:54 PST ---
Are there any publically available servers that can be used to demonstrate the
poblem?

And can you provide an example of a valid and invalid request please?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 46007] WebServices responses are always 200

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46007





--- Comment #9 from CES <fl...@gmail.com>  2008-10-22 08:22:34 PST ---
(From update of attachment 22764)
Ok, I was looking the way to show you the problem with a public WS.

In the attach you can find a test plan in JMeters that calls to an Amazon Web
Service
(http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl). I
put an incorrect XML in the request body, to generate a error response in the
server.

If you run it with JMeter, you will see that JMeter says that the http response
code is 200, when the real response code will be 500. You can check it invoking
with SOAPUI
(http://www.soapui.org/gettingstarted/your_first_soapUI_project.html).


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 46007] WebServices responses are always 200

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46007





--- Comment #11 from Sebb <se...@apache.org>  2008-10-23 03:21:19 PST ---
Thanks, I see the problem now.

Looks like the problem is in the Axis Soap library JMeter is using.

It does not seem to pass back the information - or if it is available, it is
not at all obvious how to get it.

Not sure if this can be fixed. I suggest you use the SOAP/XML-RPC sampler which
works correctly for me.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 46007] WebServices responses are always 200

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46007





--- Comment #8 from CES <fl...@gmail.com>  2008-10-22 08:21:52 PST ---
Created an attachment (id=22764)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22764)
test plan with an invocation to Amazon WS, with an incorrect body request, to
generate an error response code


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 46007] WebServices responses are always 200

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46007


Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #7 from Sebb <se...@apache.org>  2008-10-20 07:16:24 PST ---
It's going to be very difficult to fix the problem if there is no server to
test against.

Can you at least explain what you mean by "invalid parameter"?

Do you mean an incorrect URL?
Or do you mean valid XML but an incorrect setting of a tag name or value within
the XML?

Can you at least provide the details from the View Results Tree Listener
Sampler Result page? I don't think there's any sensitive info there - but check
just in case.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 46007] WebServices responses are always 200

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46007


CES <fl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




--- Comment #10 from CES <fl...@gmail.com>  2008-10-22 08:23:59 PST ---
In the previous message I have added the required information.
Thanks


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org