Add ability to create a Regexp Extractor from a selected text at a particular place
UbikLoadPack support (Bug 58940): It would be nice to be able by selecting some text and right clicking "Create regexp extractor from text" that JMeter creates a Regular Expression Extractor and propose a wizard to place the element in the tree.
Version: Nightly OS: All
Sebb (migrated from Bugzilla): Not entirely sure how that would work.
The user needs to define both the fixed text and the variable text, and somehow tell the Wizard what the range of character data is.
If it does prove possible to automate this (it sounds decidely non-trivial), it would help if the Wizard had a testing panel to show how the generated RE works against the input.
@pmouawad (migrated from Bugzilla): The dream is this one:
- User selects the field he want to extract and some text around it
- He right clicks, a popup menu open and he selects "Create my regex extractor"
- A wizard open that contains:
- the selected text , for example 'name="test" input="toto"'
- the var name : user fills : "myvar"
- a field called "value you want to extract" that user must fill: toto
- he clicks a button guess => wizard creates name="test" input="(.+?)"
- User can select where he wants to add it in the tree
- Jmeter puts a Regular Expression Extractor at that place containing
That's it, users is happy and developer is proud
UbikLoadPack support (migrated from Bugzilla): Screenshots show how you proceed to add Think Times easily on Thread Groups and Controllers.
This highly increases productivity on this painful steps where you currently have to make repetitive clicks, copy/pastes and insertions.
UbikLoadPack support (migrated from Bugzilla): Wrong bugzilla , sorry
@rollno748 (migrated from Bugzilla): That's a nice option to have it in JMeter
Steps to work on :
In the HTTPS Script Recorder, View results should be added to it (holding the recording.xml mapped)
- User selects the particular request
- Clicking on Response body / Response header
- Right click should show the appropriate extractor to choose
- Pop up should be shown to regex/variable name (with editing capability)
- When use hits Ok -> It should add the Post-porcessor element to the same request in Test Plan.
It would be great, if we manage to have this :)