Exemplo n.º 1
0
 def __init__(self, *,
              scope: Union[str, Scope] = Scope.MAIN,
              referenceNames: str = '',
              jsonPathExprs: str = '',
              match_numbers: int = 1,
              defaultValues: str = None,
              compute_concat: bool = False,
              name: str = 'JSON Extractor',
              comments: str = '',
              is_enabled: bool = True
              ):
     self.scope = scope
     self.referenceNames = referenceNames
     self.jsonPathExprs = jsonPathExprs
     self.match_numbers = match_numbers
     self.defaultValues = defaultValues
     self.compute_concat = compute_concat
     BasicPostProcessor.__init__(self, name=name, comments=comments, is_enabled=is_enabled)
Exemplo n.º 2
0
    def __init__(self,
                 *,
                 display_props: bool = False,
                 display_vars: bool = True,
                 display_sampler_props: bool = True,
                 display_sys_props: bool = False,
                 name: str = 'Debug PostProcessor',
                 comments: str = '',
                 is_enabled: bool = True):
        """

        :type source_type: object
        """
        self.display_props = display_props
        self.display_vars = display_vars
        self.display_sys_props = display_sys_props
        self.display_sampler_props = display_sampler_props
        BasicPostProcessor.__init__(self,
                                    name=name,
                                    comments=comments,
                                    is_enabled=is_enabled)
Exemplo n.º 3
0
    def __init__(self, *,
                 cache_key: bool = True,
                 filename: str = '',
                 parameters: str = '',
                 script: str = '',
                 script_language: ScriptLanguage = ScriptLanguage.GROOVY,
                 name: str = 'JSR223 PostProcessor',
                 comments: str = '',
                 is_enabled: bool = True
                 ):
        """

        :type source_type: object
        """
        JSR223.__init__(self,
            cache_key=cache_key,
            filename=filename,
            parameters=parameters,
            script=script,
            script_language=script_language)
        BasicPostProcessor.__init__(
            self, name=name, comments=comments, is_enabled=is_enabled)
Exemplo n.º 4
0
 def test_positive2(self):
     TestPlan().append(BasicPostProcessor())
 def test_positive2(self):
     BasicTestFragment().append(BasicPostProcessor())
 def test_positive2(self):
     BasicController().append(BasicPostProcessor())
Exemplo n.º 7
0
 def test_positive2(self):
     BasicThreadGroup().append(BasicPostProcessor())
Exemplo n.º 8
0
 def test_positive2(self):
     BasicSampler().append(BasicPostProcessor())