Cool, glad you got it working. A couple of points:
1. I don't think you need the User Defined Variable. The Regular Expression Extractor will automatically create a variable that you can reference in the Header Manager. I'm guessing you can just take out the UDV control and things will work the same. 2. You can change that regexp to: Set-Cookie: XSRF-TOKEN=([^;]+);Path=/ The [^;]+ matches anything not like ';' and then repeats until ';Path=/' is found. There's an assumption that ; is not present in the TOKEN value but then this is very reasonable, in fact. it is essential. This regexp is better because, one, it's more efficient (this is good practice in general and actually really worth considering once you start to ramp things up) and, two, it is more accurate - only selecting 0-9 or a-f could very well be limiting, for ex., the regexp using [0-9a-f]+ will fail (return 'NOT FOUND') if the XSRF-TOKEN contains any capitals, special chars, or any letter from g-z, which is probable. ----- http://www.http503.com/ -- View this message in context: http://jmeter.512774.n5.nabble.com/How-to-obtain-application-json-GET-responses-tp4985576p4987561.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
