Thank you for reply.
Actually here the problem is ,
0. I am testing a web siteand using Web/Http protocol.
1. User has to visit a page, which contains 30 records per page(Pagination is there)
2. User has to select a record from the page and he deletes the record, then record will be removed from the page.
3. We have to test this scenario with 40 Vusers
4. If two users are trying to open same record, record will be blocked and no one can delete it, so finally users are failing.
5. Record selection is a value and correlated it.(We are capturing record id from page source)
Also is there any way, we can edit/update parameter file on the fly(while execution in controller) and Users can user updated parameters?
I tried below ways:
1. To aviod record contention, I captured all record Ids to a file. So, before running the test in controller, we must run it in VUGen. This approach is working fine.
But I want to avoid manual intervention of running the script in VUgen to collect recordId to a parameter file.
I found below solution, But Implementation is in pending due to Global variables are not shared across all User:
1. Created a struct with char array and created 40 objects for that.
2. Created a logic to, first user has to pick first recordid, second User has to pick secons record and so..on
3. Before going for a deletion, User will check with a Global structure to, whether recordId alreadt avaible there are not.
4. Record is there User will pick next record from page and check again.
5. If User found record is not there, he updates this record in global structure, he will use the recordID and after deleting record , he removes the record from global structure.
Here the actual problem is what ever structure I created has become private to individual vuser instead of sharing them across all users.