Hints and Tips
Read the web Best Practices topic.
Correlating and Parameterizing Unique Values Used by Web Servers
Unique values can be found:
- Embedded within the HTML of a web page either as a hidden form field or as part of a dynamically generated link. You can use the API call extract() to collect the value from the web page.
- Within a cookie. Although handled automatically, some cookie values must be correlated for use outside the context of the cookie, for example, for use in an element of a URL. Cookie values can be collected from the VU's cookie cache using getCookieValue().
You also can use Script Generation Rules to correlate values in your testing.