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 2022/01/10 00:41:57 UTC

[Bug 65795] New: Implementing "Apply to" scoping rules to JSR223 PostProcessor, JSR223 Assertion and JSR223 Listener elements

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

            Bug ID: 65795
           Summary: Implementing "Apply to" scoping rules to JSR223
                    PostProcessor, JSR223 Assertion and JSR223 Listener
                    elements
           Product: JMeter
           Version: Nightly (Please specify date)
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: nalexic@gmail.com
  Target Milestone: JMETER_5.5

Created attachment 38156
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38156&action=edit
scopingIssue

Hello,

It would be nice to be able to apply scoping rules to JSR223 PostProcessor,
JSR223 Assertion, and JSR223 Listener elements using code and by selecting
radio buttons as we have in other PostProcessors extractors, Assertions. For
example Response assertion has a "Main sample and sub-samples", "Main sample
only", "Sub-samples only", "JMeter variable Name to use" (not sure if this is
required for JSR223 elements).

Maybe to consider adding radio buttons named "Include Transaction controllers",
"Include Transaction controllers only" and "Skip Transaction controllers"? I'm
not sure if we are able to access Transaction controllers, rename labels, read
response times etc. but that would be nice to have.

I skipped JSR223 PreProcessor - maybe there is a need to include it in scoping,
not sure.

Let say we have a test plan like in the attachment. The actual result in Thread
Group 1 is following:

1. "JSR223 PostProcessor - addSubResult" adds subsample to every JSR223
Sampler, ignoring Transaction Controllers which is fine.
=============================
2. "JSR223 PostProcessor - rename label" renames label only to JSR223 Sampler,
not able to apply scoping to the subsample of JSR223 Sampler as well. Can't
rename the label of the Transaction controller.
=============================
3. "JSR223 Assertion" seems to apply check on Sampler and Transaction
Controllers but skips subsample of JSR223 Sampler. I would like to skip check
on Transaction controllers and include check only for Samplers, so if we have
set "Main sample and sub-samples" to check main sample and sub-samples,
skipping Transaction Controllers.
=============================

The actual result in Thread Group 2 is following:

4. "JSR223 Listener - addSubResult" adds subsample to last JSR223 Sampler 2
only. I would like to apply the creation of a subsample to every JSR223 Sampler
in the test.

JMeter 5.5-SNAPSHOT 462aaeb
Microsoft Windows 10 Enterprise 64-bit
java version "15.0.1"

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

[Bug 65795] Implementing "Apply to" scoping rules to JSR223 PostProcessor, JSR223 Assertion and JSR223 Listener elements

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
           Severity|normal                      |enhancement
            Version|Nightly (Please specify     |5.4.3
                   |date)                       |
           Hardware|PC                          |All

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