Skip to content
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

wrong extractor is appended to BoundaryExtractor #1755

Open
git4azure opened this issue Aug 24, 2023 · 0 comments
Open

wrong extractor is appended to BoundaryExtractor #1755

git4azure opened this issue Aug 24, 2023 · 0 comments

Comments

@git4azure
Copy link

https://github.com/Blazemeter/taurus/blob/ced9f031b1b3dba9d1dc4195558eb1522ac3be38/bzt/jmx/base.py#L1005C10-L1005C10

def _get_boundary_extractor(varname, subject, left, right, match_no, defvalue='NOT_FOUND', scope='', from_var=''):
....
subject = subjects.get(subject)
element = etree.Element("BoundaryExtractor", guiclass="BoundaryExtractorGui",
testclass="BoundaryExtractor", testname="Get %s" % varname, enabled="true")
element.append(JMX._string_prop("BoundaryExtractor.useHeaders", subject))
element.append(JMX._string_prop("BoundaryExtractor.refname", varname))
element.append(JMX._string_prop("BoundaryExtractor.lboundary", left))
element.append(JMX._string_prop("BoundaryExtractor.rboundary", right))
element.append(JMX._string_prop("RegexExtractor.default", defvalue))
element.append(JMX._string_prop("RegexExtractor.match_number", match_no))

element.extend(JMX.get_scope_props(scope, from_var))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant