If the match number is set to a negative number, then all the possible
matches in the sampler data are processed. The variables are set as follows:


   - refName_matchNr - the number of matches found; could be 0
   - refName_n, where n = 1,2,3 etc - the strings as generated by the
   template
   - refName_n_gm, where m=0,1,2 - the groups for match n
   - refName - always set to the default value
   - refName_gn - not set

I am not understanding this.. an example on how to extract all matches
would be great


On Tue, Aug 27, 2013 at 1:37 PM, umesh prajapati <[email protected]>wrote:

> So, in my case Match No. = 1 because I only have one main sample.
>
> But this is not extracting all 500 userId and corresponding username but
> instead just extracting one userId and corresponding username
>
>
> On Tue, Aug 27, 2013 at 1:11 PM, sebb <[email protected]> wrote:
>
>> On 27 August 2013 19:58, umesh prajapati <[email protected]> wrote:
>> > My response will be as below:
>> >
>> >
>> >
>> <ns10:BatchInfo><ns10:BatchId>PSN_1</ns10:BatchId></ns10:BatchInfo><ns10:BatchStatus>Complete</ns10:BatchStatus><ns10:UsersStatus="Success"Count="3">
>> > <ns10:User
>> RowId="1"><ns6:UserId>ffffffff521cf326e4b05c028a28007d</ns6:UserId><ns6:FirstName>1aug2713</ns6:FirstName><ns6:LastName>1aug2713</ns6:LastName><ns6:Gender>Unspecified</ns6:Gender><ns6:UserName>1aug2713</ns6:UserName><ns6:Password>password1</ns6:Password><ns6:EncryptionType>SHA</ns6:EncryptionType><ns6:AuthenticationType>SSO</ns6:AuthenticationType><ns6:BusinessRuleSet>CG</ns6:BusinessRuleSet><ns6:AutoGenerated>false</ns6:AutoGenerated></ns10:User><ns10:User
>> >
>> <ns10:UserRowId="2"><ns6:UserId>ffffffff521cf326e4b05c028a28007e</ns6:UserId><ns6:FirstName>2aug2713</ns6:FirstName><ns6:LastName>2aug2713</ns6:LastName><ns6:Gender>Unspecified</ns6:Gender><ns6:UserName>2aug2713</ns6:UserName><ns6:Password>password1</ns6:Password><ns6:EncryptionType>SHA</ns6:EncryptionType><ns6:AuthenticationType>SSO</ns6:AuthenticationType><ns6:BusinessRuleSet>CG</ns6:BusinessRuleSet><ns6:AutoGenerated>false</ns6:AutoGenerated></ns10:User><ns10:User
>> >
>> <ns10:UserRowId="3"><ns6:UserId>ffffffff521cf326e4b05c028a28007f</ns6:UserId><ns6:FirstName>3aug2713</ns6:FirstName><ns6:LastName>3aug2713</ns6:LastName><ns6:Gender>Unspecified</ns6:Gender><ns6:UserName>3aug2713</ns6:UserName><ns6:Password>password1</ns6:Password><ns6:EncryptionType>SHA</ns6:EncryptionType><ns6:AuthenticationType>SSO</ns6:AuthenticationType><ns6:BusinessRuleSet>CG</ns6:BusinessRuleSet><ns6:AutoGenerated>false</ns6:AutoGenerated></ns10:User></ns10:Users></ns10:GetUserBatchStatusResponse></soapenv:Body></soapenv:Envelope>
>> > ......
>> > .........
>> > ....
>> > <ns10:RowID="500"><ns6:UserId>...........
>> >
>> >
>> > So, I would like to extract all 500 userId and corresponding Username
>> to it
>> > and save it on a file like this:
>> > ffffffff521cf326e4b05c028a28007d,1aug2713
>> > ffffffff521cf326e4b05c028a28007e,2aug2713
>> > ffffffff521cf326e4b05c028a28007f,3aug2713
>> > .............
>> > ..........
>> > .....
>> >
>> >
>> > In my regular expression extractor this is what I have so far:
>> >
>> > Regular Expression:
>> > <ns6:UserId>(.+?)</ns6:UserId>.*<ns6:UserName>(.+?)</ns6:UserName>
>> > Template:$1$ $2$
>> > Match No.(0 for Random): (what should i put here to extrat all matching)
>>
>>
>> http://jmeter.apache.org/usermanual/component_reference.html#Regular_Expression_Extractor
>>
>> See the description of Match No.
>>
>> > Default Value:
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>

Reply via email to