HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

Response Extractor: Extracting the entire response body Messages in this topic - RSS

ter
ter
Posts: 12


8/26/2014
ter
ter
Posts: 12
I am trying to extract the entire response body as a variable.
For example, let's say that the response looks like the following:
_______________________________
HTTP/1.1 201 Created
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Location: http://...
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Mon, 25 Aug 2014 23:46:14 GMT
Content-Length: 4167
{"SomeJSONData": ... }
____________________________I tried using "Text Delimited", but there is no "Text After" I can set. "Header" cannot be used either. I did manage to use Regular Expression as follows:
[\n\r].*Content-Length: \d+\s*([^\n\r]*)
basically, everything after the "Content-Length" end of line.
Is there anything else I can use to extract the entire response? Is there a "Response" option like there is a "Header" option?
Thanks,

0 link






Copyright © 2024 Stimulus Technology