LoadComplete Log Items, Scripting, Execution
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2011
07:14 PM
09-13-2011
07:14 PM
LoadComplete Log Items, Scripting, Execution
Hello,
I have following questions regarding LoadComplete.
1. Can we convert TestComplete LoadTesting Items into LoadComplete?
2. Does it support Scripting?
3. What if i want to execute my test in iterative mode, i mean in first run only with 1 VU, in 2nd run with 2 ...in 50th run with 50VU's. I don't want to add 50 Test Items in the attached window. In test complete we can do it by writing a simple script.
4. In the help file it says "For instance, to specify the modem speed 56 Kbit/s, type 56*1024=57344. Confirm your input by pressing ENTER. LoadComplete will re-calculate the entered value and display it both in bytes and bits. If the entered value corresponds to the drop-down list item, the item text will be displayed." I put "57344" in the connection speed, LoadComplete displays 7.17 MB/s (57.34 Mbits/s)
5. What if i want to change the LogItem name during execution, means LoadComplete generates LogItem with my defined name. In TestComplete we can do it by scripting. I dont want to change LogItem name manualy because it will take lots of time to check the Log and then rename it.
I have following questions regarding LoadComplete.
1. Can we convert TestComplete LoadTesting Items into LoadComplete?
2. Does it support Scripting?
3. What if i want to execute my test in iterative mode, i mean in first run only with 1 VU, in 2nd run with 2 ...in 50th run with 50VU's. I don't want to add 50 Test Items in the attached window. In test complete we can do it by writing a simple script.
4. In the help file it says "For instance, to specify the modem speed 56 Kbit/s, type 56*1024=57344. Confirm your input by pressing ENTER. LoadComplete will re-calculate the entered value and display it both in bytes and bits. If the entered value corresponds to the drop-down list item, the item text will be displayed." I put "57344" in the connection speed, LoadComplete displays 7.17 MB/s (57.34 Mbits/s)
5. What if i want to change the LogItem name during execution, means LoadComplete generates LogItem with my defined name. In TestComplete we can do it by scripting. I dont want to change LogItem name manualy because it will take lots of time to check the Log and then rename it.
-
Muhammad Mazhar Mahmood
Certified Software Tester (CSTE)
Muhammad Mazhar Mahmood
Certified Software Tester (CSTE)
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2011
11:42 PM
09-13-2011
11:42 PM
Hi, Muhammad.
Currently, there is no direct conversion. However, you can do this similarly to converting functional tests to load tests. That is, first, you need to start the recording in LoadComplete and then start playing back the needed load test in TestComplete.
Can we convert TestComplete LoadTesting Items into LoadComplete?
For more information, please see the Creating Load Tests Based on Functional Tests - Tutorial video.
No. However, LoadComplete includes a number of features that let you customize load tests visually.
Does it support Scripting?
To do this, you will have to specify the needed number of virtual users manually every time time before the test run. However, you can easily analyze the test execution with all the specified numbers of virtual users, using the Load Profile and Continuous Load tabbed pages of the Load Test editor. On this page, you can specify the ramp-up load settings that will be used during the test run.
What if i want to execute my test in iterative mode, i mean in first run only with 1 VU, in 2nd run with 2 ...in 50th run with 50VU's.
For example, you can specify the following settings for stepwise load (Load Profile page):
Start with 1 virtual user
and add 1 user
every 600 seconds
Also, you need to enable the Continuous Load feature and specify the total test duration time on this page.
After you do this and click the Run This Load Test button, LoadComplete will run your test using the specified settings and you will be able to analyze your test for all needed numbers of users without the necessity to run the test several times.
It is an issue related to displaying the converted value in LoadComplete. I've registered it in our DB. Thanks for reporting it.
In the help file it says "For instance, to specify the modem speed 56 Kbit/s, type 56*1024=57344. Confirm your input by pressing ENTER. LoadComplete will re-calculate the entered value and display it both in bytes and bits. If the entered value corresponds to the drop-down list item, the item text will be displayed." I put "57344" in the connection speed, LoadComplete displays 7.17 MB/s (57.34 Mbits/s)
Using LoadComplete, you cannot rename test log items automatically during the test execution. You can only do this manually using log items' context menu.
What if i want to change the LogItem name during execution, means LoadComplete generates LogItem with my defined name. In TestComplete we can do it by scripting. I dont want to change LogItem name manualy because it will take lots of time to check the Log and then rename it.
I’m not a member of the SmartBear Support Team, I’m just helping users in this community. Any views or opinions expressed do not necessarily represent those of SmartBear Software.
