No response headers are accessible from an amf request
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2011
08:40 AM
10-27-2011
08:40 AM
No response headers are accessible from an amf request
I'm trying to capture the response headers (specifically Set-Cookie) from an amf request. In the Headers Tab within the UI, there are 6 headers returned, including Set-Cookie. However, the following calls within a Script Assertion (within the Test Step that makes the amf request) are returning no values.
* this returns 0 *
def responseHeaders = messageExchange.getResponseHeaders()
def test = responseHeaders.valueCount()
* this returns null *
def rawResponseData = messageExchange.getRawResponseData()
def test2 = rawResponseData.toString()
Response Headers visible after the amf request (within the Headers Tab)
Date Thu, 27 Oct 2011 15:14:53 GMT
Content-Length 3899
#status# HTTP/1.1 200 OK
Set-Cookie JSESSIONID=6A2D7A5B41F16DB2038104348455EE48; Path=/
Content-Type application/x-amf
Server Apache/2.2.14 (Ubuntu)
We are currently using the trial phase of the Pro version and are currently stuck at this point.
Thanks!
-Stephen
* this returns 0 *
def responseHeaders = messageExchange.getResponseHeaders()
def test = responseHeaders.valueCount()
* this returns null *
def rawResponseData = messageExchange.getRawResponseData()
def test2 = rawResponseData.toString()
Response Headers visible after the amf request (within the Headers Tab)
Date Thu, 27 Oct 2011 15:14:53 GMT
Content-Length 3899
#status# HTTP/1.1 200 OK
Set-Cookie JSESSIONID=6A2D7A5B41F16DB2038104348455EE48; Path=/
Content-Type application/x-amf
Server Apache/2.2.14 (Ubuntu)
We are currently using the trial phase of the Pro version and are currently stuck at this point.
Thanks!
-Stephen
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2011
08:24 AM
11-16-2011
08:24 AM
Hi Stephen,
this should be fixed in the latest nightly builds, please let us know if you are still having troubles.
regards!
/Ole
SmartBear Software
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
this should be fixed in the latest nightly builds, please let us know if you are still having troubles.
regards!
/Ole
SmartBear Software
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
