[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jmeter-user
Subject:    HTTPSampler name attribute Question
From:       "Modha Khammammettu" <MKhammammettu () calcas ! com>
Date:       2007-11-23 0:37:10
Message-ID: 667AEB0B8BF9D244892C1D9802649328F6593F () xch3 ! ccmc ! com
[Download RAW message or body]


Sent to dev list by mistake....

> Hi
> 
> I am looking at HTTPSampler elementProp 
> 
> <elementProp name="" elementType="HTTPArgument">
>                 <boolProp
> name="HTTPArgument.always_encode">false</boolProp>
>                 <stringProp name="Argument.name">password</stringProp>
>                 <stringProp name="Argument.value">pass</stringProp>
>                 <stringProp name="Argument.metadata">=</stringProp>
>                 <boolProp
> name="HTTPArgument.use_equals">true</boolProp>
>               </elementProp>
> 
> And specifically the lines:
> 
> <stringProp name="Argument.name">password</stringProp>
> <stringProp name="Argument.value">pass</stringProp>
> 
> Looks like Jmeter uses name attribute of a html element to identify a
> particular element on a page and then sends the name value pairs when
> submitted..
> 
> Can it identify element based on my custom attribute, and then send
> name value pairs.
> 
> I am looking at something like:
> <stringProp name="Argument.customattrib">mycustomattrib</stringProp>
> ----Figure out argument value for name
> <stringProp name="Argument.value">pass</stringProp>
> Then pass name value pairs.
> 
> My html element looks like   <input id="dynamically_changing_value"
> name="dynamically_changing_value" customeattrib="fixed".....>
> I want to be able to identify element based on customattrib, figure
> out what is in the name and then send that name value pair.
> 
> Please let me know if we can do this.
> 
> Thanks
> Modha/-
> 
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic