-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Elements for use in JMeter #1759
Comments
Geoff Willingham (migrated from Bugzilla): |
peter lin (migrated from Bugzilla): I thank you on behalf of the users and developers peter |
@pmouawad (migrated from Bugzilla): |
@pmouawad (migrated from Bugzilla): URL: http://svn.apache.org/viewvc?rev=1332231&view=rev Added: |
@pmouawad (migrated from Bugzilla):
What should we do with this ? Sebb, Rainer, Milamber , what's you opinion ? |
@pmouawad (migrated from Bugzilla): URL: http://svn.apache.org/viewvc?rev=1332389&view=rev Modified: Date: Mon Apr 30 21:09:43 2012 URL: http://svn.apache.org/viewvc?rev=1332395&view=rev Modified: |
Sebb (migrated from Bugzilla):
There needs to be a way to remove the result store variable once it is no longer needed.
I think a form-filler could be useful, particularly for forms with dynamic field names. Also for lists - it would be useful to be able to pick list items by number. It would be useful to be able to refer to input fields by position as well as number. But this needs a bit more thought on how to make this easy to use.
Agreed.
Not sure there's any point in adding Result Store on its own. Alsoit's simple enough that it can be coded as a BSH or BSF or JSR223 element if required.
|
@pmouawad (migrated from Bugzilla): |
Geoff Willingham (Bug 40011):
I have developed 4 new Test Elements for use in JMeter - figured i might as well
submit them. The four elements are:
Form Filler (Pre Processor)
Result Store (Post Processor)
System Sampler (Sampler)
Multi Value Regex Extractor (Post Processor)
Details about those elements:
Form Filler (Pre-Processor): Extracts form elements from a HTML Result object,
and then populates the sampler parameters. The sampler parameters to be
populated are specified using (configurable) flags. The HTML Result object to
use defaults to the previous response - however, a Result Store can be
specified, and it will be used instead.
Result Store (Post Processor): Takes the response object, and places it in a
variable. The Result Store then places a reference to itself into the
ThreadContext, so that other elements can find and reference it. Currently,
only the Form Filler (part of this collection) makes use of this Result Store.
System Sampler (Sampler): A basic sampler object that can be used to execute
commands on the local machine. Developed to allow the external processing of
data files part way through a test, it should allow execution of any command
that can be run from the command line. In a basic attempt at completeness,
calls to sampleStart/sampleEnd are included. Validation of the return code can
be enabled, and the expected return code can be specified.
Multi Value Regex Extractor (Post Processor): An extension to the existing
Regular Expression Extractor, the Multi Value version allows processing of all
matches. Each match is formed into a template (as with the original version)
but afterwards, templates are strung together using a second configurable
template. This element was implemented to allow for handling of multi-value
HTML lists.
Testing:
The elements have all been used in my current test scripts, but the testing has
not been too thorough - they were developed as a quick fix for specific problems
i was having.
Specifically, the Form Filler has only been tested as a child to a single
sampler. It should work when placed at a higher level (each as child to a logic
controller containing multiple samplers), but no guarantees :)
The Result Store has only been tested as a child to a single sampler. It should
probably be restricted to this case, as it would not make sense for it to be
used at a higher level (it can only hold one response object, so it should be
unique for each sampler). However, i am not currently certain of how to
restrict it.
Votes in Bugzilla: 1
OS: All
Resolution: MOVED
Depends on:
Blocks:
The text was updated successfully, but these errors were encountered: