Quantcast

how to handle auto incremental

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

how to handle auto incremental


i need 57 value.
muthujmtr87
This post has NOT been accepted by the mailing list yet.
Hi guys,

How to handle auto incremental values ?

and also Need your help guys in two scenarios:

1. extracting value from url/from body
When i clicking on one link opens one new window, from that window i need to extract the value from url/body

html part : <form id="formXx1" action="XXJmeter.aspx?Math=0.00542852215" method="post" name="form1X">

URL like: www.example.com/XXJmeter.aspx?Math=0.00542852215

2. how to get value from
57
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: how to handle auto incremental

glinius@live.com
This post has NOT been accepted by the mailing list yet.
You can go for XPath Extractor which allows partial matches like:

//form[contains(@id,'formXx')]/@action
This will extract "action" attribute value and save it into a JMeter Variable which you can reuse in the HTTP Request sampler Path  
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: how to handle auto incremental

muthujmtr87
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hi Glinius,

thanks for the reply but i need to extract the value as BOLD from that URL form id="form1" action="JmeterXXpth.aspx?Math="(.+?)"" method="post" name="form1"

if i give the Xpath what you given that will extract action="JmeterXXpth.aspx?Math="(.+?)"

And also i need to get the value 57 from the table.
"<td..> 57 </td...>"
Loading...