HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

Multiple random extractors from same record Messages in this topic - RSS

Unregistered User
Unregistered User
Posts: 509


5/1/2023
Unregistered User
Unregistered User
Posts: 509
We have a requirement to extract multiple values from a single random JSON record. I know we can use Random extractor but if we create multiple random extractors then they are not guaranteed to be from the same record. How can we create multiple random extractors from the same record?
0 link
George @StresStimulus
George @StresStimulus
Administrator
Posts: 555


5/1/2023
George @StresStimulus
George @StresStimulus
Administrator
Posts: 555
In order to create multiple random extractors with the same occurrence, you need to do the following:
1. Create a single extractor with a random occurrence that returns the entire record. Call this extractor EntireRecord
2. Then right-click on the extractor and select Create Extractor to create an extractor for bookableForRommTimetable as described https://support.stresstimulus.com/display/doc57/How+to+create+an+Extractor
0 link






Copyright © 2024 Stimulus Technology