On 25 June 2013 05:18, umesh prajapati <[email protected]> wrote:
> Hi,
>
> how can i save RegEx extracted value from a response body into a file. For
> example:
> user1 request will have response body
> <ns6:OrganizationId>8a9484c137a89754013805b79af145f8</ns6:OrganizationId>
>
> user2 request will have response body
> <ns6:OrganizationId>9a9484d136a89754013805b79af145f8</ns6:OrganizationId>
>
> So, I added RegEx extractor to the sampler request
> Refrence name: orgid
> Regular Expression:<ns5:OrganizationId>(.+?)</ns5:OrganizationId>
> Template: $1$
> Match No.:1
>
> So, how do I save all this organization Id using RegEx into a single file

Listeners can save sample variables.

http://jmeter.apache.org/usermanual/listeners.html#sample_variables

So just create a Listener in the correct scope and define

sample_variables=orgid

You can disable some or all of the other fields using the Config button.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to