Merge branch 'main' of https://github.com/metersphere/metersphere
This commit is contained in:
commit
1a37f3225c
|
@ -744,7 +744,7 @@ public class JMeterParser extends ApiImportAbstractParser<ScenarioImport> {
|
||||||
elementNode = new MsJSR223Processor();
|
elementNode = new MsJSR223Processor();
|
||||||
BeanUtils.copyBean(elementNode, jsr223Sampler);
|
BeanUtils.copyBean(elementNode, jsr223Sampler);
|
||||||
((MsJSR223Processor) elementNode).setJsrEnable(false);
|
((MsJSR223Processor) elementNode).setJsrEnable(false);
|
||||||
((MsJSR223Processor) elementNode).setScript(jsr223Sampler.getPropertyAsString(ElementConstants.SCRIPT));
|
((MsJSR223Processor) elementNode).setScript(jsr223Sampler.getPropertyAsString("BeanShellSampler.query"));
|
||||||
((MsJSR223Processor) elementNode).setScriptLanguage(jsr223Sampler.getPropertyAsString("scriptLanguage"));
|
((MsJSR223Processor) elementNode).setScriptLanguage(jsr223Sampler.getPropertyAsString("scriptLanguage"));
|
||||||
}
|
}
|
||||||
// 后置脚本
|
// 后置脚本
|
||||||
|
@ -752,7 +752,7 @@ public class JMeterParser extends ApiImportAbstractParser<ScenarioImport> {
|
||||||
JSR223PostProcessor jsr223Sampler = (JSR223PostProcessor) key;
|
JSR223PostProcessor jsr223Sampler = (JSR223PostProcessor) key;
|
||||||
elementNode = new MsJSR223PostProcessor();
|
elementNode = new MsJSR223PostProcessor();
|
||||||
BeanUtils.copyBean(elementNode, jsr223Sampler);
|
BeanUtils.copyBean(elementNode, jsr223Sampler);
|
||||||
((MsJSR223PostProcessor) elementNode).setScript(jsr223Sampler.getPropertyAsString("BeanShellSampler.query"));
|
((MsJSR223PostProcessor) elementNode).setScript(jsr223Sampler.getPropertyAsString(ElementConstants.SCRIPT));
|
||||||
((MsJSR223PostProcessor) elementNode).setScriptLanguage(jsr223Sampler.getPropertyAsString("scriptLanguage"));
|
((MsJSR223PostProcessor) elementNode).setScriptLanguage(jsr223Sampler.getPropertyAsString("scriptLanguage"));
|
||||||
} else if (key instanceof BeanShellPostProcessor) {
|
} else if (key instanceof BeanShellPostProcessor) {
|
||||||
elementNode = getMsTestElement((BeanShellPostProcessor) key);
|
elementNode = getMsTestElement((BeanShellPostProcessor) key);
|
||||||
|
|
|
@ -38,7 +38,7 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusFilters: [
|
statusFilters: [
|
||||||
{text: this.$t('test_track.plan.plan_status_prepare'), value: 'Prepare'},
|
{text: this.$t('api_test.home_page.detail_card.unexecute'), value: 'Prepare'},
|
||||||
{text: this.$t('test_track.plan_view.pass'), value: 'Pass'},
|
{text: this.$t('test_track.plan_view.pass'), value: 'Pass'},
|
||||||
{text: this.$t('test_track.plan_view.failure'), value: 'Failure'},
|
{text: this.$t('test_track.plan_view.failure'), value: 'Failure'},
|
||||||
{text: this.$t('test_track.plan_view.blocking'), value: 'Blocking'},
|
{text: this.$t('test_track.plan_view.blocking'), value: 'Blocking'},
|
||||||
|
|
Loading…
Reference in New Issue