Highlighted
Absent Member.. Absent Member..
Absent Member..
249 views

Conditional Transactions

I've been searching for an answer to this without success, so I'm hoping someone can help.

 

I am doing an HTTP/HTML-protocol test of a web app, and the web page processes file of various sizes when a Submit button is clicked.  The processing could be complete in a second or two, or it could take a couple of minutes.

 

The app is set up so it waits 5 seconds after the Submit button is clicked , and then reposts the page every 15 seconds.  This allows the page to display how much longer the processing will take for large files. 

 

I want to put a transaction that measures the time it takes from the click of the Submit button until the first repost occurs.  My issue is that the repost won't occur at all if the file processes quickly enough; it will just go to the page saying the processing is complete.

 

How can I set up a transaction that won't fail if the repost doesn't occur? 

 

I'll be on vacation until Feb 25th, so I won't be able to respond until then.  Thanks in advance for any suggestions!

 

 

0 Likes
1 Reply
Highlighted
Absent Member.. Absent Member..
Absent Member..

Hi
This is a little complex and requires some custom code, the idea is to have an if statement to verify something like a web_reg_find if the repost occurs, or maybe an if based on time or a counter, this is possible but requires some tricks to make it work

hope this helps
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.