smartsuriya
13 years agoOccasional Contributor
Possibility of running single test step only once.
Hi,
I am new to load UI and i want to know if there is possibility following scenario in LOAD UI. If it is possible, please let me know how it can be done:
We are trying to test web service for a large file upload functionality. Following are the test steps involved:
1. Open Partition (REST Service - Partition in which file will be uploaded)
2. File Upload (Groovy Script - Java class to read the content of large file to be uploaded(400 MB) and send the same in service)
3. Free Partition (REST Service - Frees the partition where the file is uploaded so that same partition can be used subsequently)
The challenge which i face here is once when a partition is open and until it closed, file upload cannot happen. So when ran in a multiple user environment, when one user opens the partition and does file upload and the same partition is requested by other user, requests starts failing until the partition is closed.
So is there any way to run only once Open Partition test step at the beginning of the test and Free partition test step only once at the end of the test for the entire load test duration while the file upload test step happens in between.or any other way like one user waits until another user completes the entire execution will also work for me.
Please let me know if any/both of these options are possible and let me know how this can be done. Thanks in advance.
Regards,
Suriya
I am new to load UI and i want to know if there is possibility following scenario in LOAD UI. If it is possible, please let me know how it can be done:
We are trying to test web service for a large file upload functionality. Following are the test steps involved:
1. Open Partition (REST Service - Partition in which file will be uploaded)
2. File Upload (Groovy Script - Java class to read the content of large file to be uploaded(400 MB) and send the same in service)
3. Free Partition (REST Service - Frees the partition where the file is uploaded so that same partition can be used subsequently)
The challenge which i face here is once when a partition is open and until it closed, file upload cannot happen. So when ran in a multiple user environment, when one user opens the partition and does file upload and the same partition is requested by other user, requests starts failing until the partition is closed.
So is there any way to run only once Open Partition test step at the beginning of the test and Free partition test step only once at the end of the test for the entire load test duration while the file upload test step happens in between.or any other way like one user waits until another user completes the entire execution will also work for me.
Please let me know if any/both of these options are possible and let me know how this can be done. Thanks in advance.
Regards,
Suriya