sdruker
11 years agoContributor
Http Trafic handling
Hi, Is there a way to track http traffic in testcomplete? I see that in the past it was possible by using load test tasks but now this feature is not available anymore. (I have testcomplete 10....
- 11 years agoHi Sivan,
I am afraid to say that TestComplete does not support the functionality you are talking about.
All former Load Testing functionality of TestComplete was moved to the LoadUIWeb product (http://smartbear.com/products/qa-tools/load-testing/ and don't miss LoadUIWeb with LoadUI (http://smartbear.com/products/qa-tools/web-service-load-testing/) - these are different products).
However, I am not sure if you are not mixing two testing approaches here...
TestComplete is primarily designed to check the functionality of the tested application from the end-user point of view. And as the end user, I have no idea of what happens when I am checking some check-box. What I do care in this case is that the check-box is ticked and this either results in some on-screen action or has some (defined!) influence on my subsequent actions and observed results. And this is what can be implemented and tested using TestComplete.
All at all, I think that this is not check-box that issues http request when been ticked, but some script triggered with onclick action. This means that if the script for some reason was not executed (blocked or not linked to the check-box control), the check-box will still be ticked (as this is internal functionality of the control which is controlled by the browser), but there will be no expected result of this tick and this can be detected by TestComplete.
On the other hand, LoadUIWeb is designed to record all requests issued by the tested application when end-user performs some actions and then replay recorded requests unattended (i.e. without the necessity the tested application be running) and check that obtained responses match those that were received during recording.
So, with the LoadUIWeb it is possible to record the request issued when the check-box is ticked and replay this request later and check that the obtained response has code 200.