Part-10: Extract Record ID from InlineEditWebService.asmx–Dynamics 365 Performance Test
Update, Assign, resolve cases scenarios need to capture the created Case ID. Because, while recording the Resolve case scenario, web test hardcodes the Case ID that generated as part of recording. Hence, Load Test will throw an error if we execute the recorded web performance test as tool try to resolve the same case again.
Visual Studio performance Test provides an option to extract the created CaseID and stores into a Parameter. This parameter can be used in later step while resolving case.
Follow below steps to extract the Case ID from the create Request and use it in Resolve request.
Extract Case ID:
1. Record the Create and Assign Case scenario with Web Performance Test (Refer Part-3)
2. Open the recorded Web Performance Test
3. Look for the Service Request (InlineEditWebService.asmx). There would be many requests like this but based on the Request and Response find out the correct Request
4. Right click on the Request – Select “Add Extraction Rule”
5. Select “Extract Regular Expression” from left side navigation
6. Enter the Name
7. Enter below Regular Expression to extract Case ID (32 digits with 4 “- “)
([0-9A-F]{8}\-{0,1}[0-9A-F]{4}\-{0,1}[0-9A-F]{4}\-{0,1}[0-9A-F]{4}\-{0,1}[0-9A-F]{12})
This was originally posted here.

Like
Report
*This post is locked for comments