Jump to content
WAPT Forum
Sign in to follow this  
Guest Tonya

Acknowledge messages and stop the test run

Recommended Posts

Guest Tonya

Hi!

 

I am currently evaluating WAPT for our company and I am trying to find out if WAPT can detect non HTTP errors and strings ( internal to the application).

The scenario I am trying to set up it has a few VUs that are supposed to log in the application and travel through a few pages. One of the users has the wrong log in password. I want to find out if WAPT can detect the "login failed" message and set it up to stop the test run for that user. So far, what I noticed is that WAPT was not able to recognize that and kept executing the next steps in the test.

The failed login message is internal to the login page of the application and looks like this:

<tr>

<td class="LogonLabel" style="color: red; text-align: center" colspan="4">

Your UserID / Password combination was not valid for this company.

</td>

</tr>

 

We will be using a lot of these type of test scenarios for our web based SCM application in our performance/load testing. So, i need to know ASAP if WAPT can detect unexpected/dynamic strings like the one exposed above, and if it does how can I set up the above scenario. On this depends our final decision.

 

Thanx, Tonya

Share this post


Link to post
Share on other sites
Guest angela
Hi!

 

I am currently evaluating WAPT for our company and I am trying to find out if WAPT can detect non HTTP errors and strings ( internal to the application).

The scenario I am trying to set up it has a few VUs that are supposed to log in the application and travel through a few pages. One of the users has the wrong log in password. I want to find out if WAPT can detect the "login failed" message and set it up to stop the test run for that user. So far, what I noticed is that WAPT was not able to recognize that and kept executing the next steps in the test.

The failed login message is internal to the login page of the application and looks like this:

<tr>

<td class="LogonLabel" style="color: red; text-align: center" colspan="4">

Your UserID / Password combination was not valid for this company.

</td>

</tr>

 

We will be using a lot of these type of test scenarios for our web based SCM application in our performance/load testing. So, i need to know ASAP if WAPT can detect unexpected/dynamic strings like the one exposed above, and if it does how can I set up the above scenario. On this depends our final decision.

 

Thanx, Tonya

 

WAPT has such feature as server response validation. You need to check if the response contains the string Your UserID / Password combination was not valid for this company, and consider this situation as an error. You can set this in the settings of the corresponding request.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...