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.
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.
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: 1) the selected text , for example 'name="test" input="toto"' 2) the var name : user fills : "myvar" 3) a field called "value you want to extract" that user must fill: toto 4) he clicks a button guess => wizard creates name="test" input="(.+?)" 4) User can select where he wants to add it in the tree 5) Jmeter puts a Regular Expression Extractor at that place containing That's it, users is happy and developer is proud
Created attachment 34624 [details] Step 1
Created attachment 34625 [details] Step 2
Created attachment 34626 [details] Step 3
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.
Wrong bugzilla , sorry
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) 1) User selects the particular request 2) Clicking on Response body / Response header 3) Right click should show the appropriate extractor to choose 4) Pop up should be shown to regex/variable name (with editing capability) 5) 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 :)
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3806