You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2016/01/29 17:19:49 UTC

[Bug 58940] New: Add ability to create a Regexp Extractor from a selected text at a particular place

https://bz.apache.org/bugzilla/show_bug.cgi?id=58940

            Bug ID: 58940
           Summary: Add ability to create a Regexp Extractor from a
                    selected text at a particular place
           Product: JMeter
           Version: Nightly (Please specify date)
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: support@ubikloadpack.com
        Depends on: 58939

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58940] Add ability to create a Regexp Extractor from a selected text at a particular place

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58940

UbikLoadPack support <su...@ubikloadpack.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |58941

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58940] Add ability to create a Regexp Extractor from a selected text at a particular place

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58940

UbikLoadPack support <su...@ubikloadpack.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|58939                       |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58940] Add ability to create a Regexp Extractor from a selected text at a particular place

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58940

--- Comment #3 from UbikLoadPack support <su...@ubikloadpack.com> ---
Created attachment 34624
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34624&action=edit
Step 1

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58940] Add ability to create a Regexp Extractor from a selected text at a particular place

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58940

--- Comment #1 from Sebb <se...@apache.org> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58940] Add ability to create a Regexp Extractor from a selected text at a particular place

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58940

--- Comment #4 from UbikLoadPack support <su...@ubikloadpack.com> ---
Created attachment 34625
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34625&action=edit
Step 2

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58940] Add ability to create a Regexp Extractor from a selected text at a particular place

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58940

--- Comment #7 from UbikLoadPack support <su...@ubikloadpack.com> ---
Wrong bugzilla , sorry

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58940] Add ability to create a Regexp Extractor from a selected text at a particular place

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58940

--- Comment #5 from UbikLoadPack support <su...@ubikloadpack.com> ---
Created attachment 34626
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34626&action=edit
Step 3

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58940] Add ability to create a Regexp Extractor from a selected text at a particular place

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58940

--- Comment #6 from UbikLoadPack support <su...@ubikloadpack.com> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58940] Add ability to create a Regexp Extractor from a selected text at a particular place

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58940

UbikLoadPack support <su...@ubikloadpack.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|58941                       |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58940] Add ability to create a Regexp Extractor from a selected text at a particular place

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58940

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58940] Add ability to create a Regexp Extractor from a selected text at a particular place

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58940

--- Comment #8 from Mohamed Ibrahim <ro...@gmail.com> ---
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 :)

-- 
You are receiving this mail because:
You are the assignee for the bug.