Discussion Forum

Welcome to the Discussion Forum, we encourage you to REGISTER on our forum and participate in the debate.For more details Click here

Online Advertising

Viewers now you can promote Your Websites/Blogs/Products by using our online advertising program.Using this feature you can place your Ads in my blog and can attract the people logging over here.To place your ads, just sign in my Guest Book and leave your details over there.

Thursday, March 12, 2009

Correlation

The purpose of Correlation is,
To simplify or optimize your code
For example, if you perform a series of dependent queries one after another, your code may become very long. To reduce the size of the code, you can nest the queries, but then you lose precision and the code becomes complex and difficult to understand. Correlating the statements enables you to link queries without nesting.

To generate dynamic data
Many applications and Web sites identify a session by the current date and time. If you try to replay a script, it will fail because the current time is different than the recorded time. Correlating the data enables you to save the dynamic data and use it throughout the scenario run.

Correlation in Webload
a.Record the script
b.Search for script failures.
c.Check under the DOM view, whether the cookie is saved as a Header or as a Hidden value
- Use any of the following script to capture it,
myCookie = wlHtml.GetHeaderValue("set-cookie")
(or)
myCookie = extractValue("Sessionid=", ";",document.wlHeaders[10].value)
(or)
myCookie = extractValue( "sessionID","/>", document.wlSource)
Use this varibale(myCookie) to replace a dynamic field.
d.Verify that the script is running correctly.

If neccessary it can be explained in detail manner..

1 comment:

Unknown said...

Can you Just give the Details for Adding Load Generators and what are the common errors we get while adding it.

Can you give the Driver Script details
How we can get the Vusers count running in console for this function Required.

Post a Comment

Free advertising


Lowes Coupon
How to Blog

Free Advertising