use of org.apache.jmeter.extractor.json.jsonpath.JSONPostProcessor in project jmeter by apache.
the class JSONPostProcessorGui method createTestElement.
/**
* @see org.apache.jmeter.gui.JMeterGUIComponent#createTestElement()
*/
@Override
public TestElement createTestElement() {
JSONPostProcessor config = new JSONPostProcessor();
modifyTestElement(config);
return config;
}
use of org.apache.jmeter.extractor.json.jsonpath.JSONPostProcessor in project jmeter by apache.
the class JSONPostProcessorGui method configure.
@Override
public void configure(TestElement element) {
super.configure(element);
JSONPostProcessor config = (JSONPostProcessor) element;
showScopeSettings(config, true);
refNamesField.setText(config.getRefNames());
jsonPathExpressionsField.setText(config.getJsonPathExpressions());
matchNumbersField.setText(config.getMatchNumbers());
defaultValuesField.setText(config.getDefaultValues());
computeConcatenationField.setSelected(config.getComputeConcatenation());
}
Aggregations