Monthly Archives: March 2011

Variables and parameters

In the previous post I demonstrated how to parameterize a simple profile. That profile consisted of only three requests. First request opened the main page of a web forum with sub-forums listed on it. Second request opened one of the sub-forums. Third one opened a topic inside that sub-forum.

The goal of the parameterization was to make WAPT open a random sub-forum on the second step and a random topic on the last step. Initially both were recorded as constant values.

The main idea was that when we want the value of a certain request parameter to be dynamic, we can use special functions to extract it from server response to the previous request. […] Continue reading

Posted in WAPT usage | Tagged , , , , | 37 Comments

Extracting values from server responses

In this post I will continue using the profile mentioned here as an example. It contains a user session recorded at the following web forum: http://www.loadtest…

The session is very simple: the user opens the main forum page, enters into a sub-forum by clicking a link on that page and then clicks another link to display a topic. I made a small modification to that profile: I removed requests to iframes, because they are static and do not play any role in the session. So, the whole session now consists of 3 requests […] Continue reading

Posted in WAPT usage | Tagged , , , , | 1 Comment

Verifying a test before run

Designing a test for a web site with essentially dynamic content may be a rather complex and time consuming task. It is similar to programming in some respect. Even though there are good testing tools that let you automate the … Continue reading

Posted in Testing practice, WAPT usage | Tagged , , , , | Leave a comment

Using variables for parameterization

In the previous post I wrote about web forms containing hidden controls. The purpose of these controls is to pass some data from the server to the client and then receive it back in the next request (along with the … Continue reading

Posted in WAPT usage | Tagged , , , , , | 1 Comment