英文:
How to change Apache Jmeter Dashboard report title dynamically
问题
我正在努力实现将Apache JMeter仪表板报告的标题动态地设置为应用程序/API名称 + 应用程序/API版本,并从API调用中提取版本信息。
JMeter版本为5.3
我想知道是否有可能以这种方式在运行时动态更改它。
非常感谢您提供的任何输入。
英文:
I am struggling to set Apache Jmeter Dashboard report title dynamically as Application/API name + Application/API version, extracting the version from an API call.
Running my test from non-gui mode
Jmeter version 5.3
Have tried setting it through JSR223 PostProcessor
However, found that it isn't working
I was wondering if it is even possible that way dynamically (changing it at run time)
Any inputs much appreciated.
答案1
得分: 1
截止到 JMeter 版本 5.3,这是不可能的,因为报告生成器的初始化是在运行测试之前完成的:
初始化:
测试启动:
英文:
As of JMeter up to 5.3 this is not possible as initialization of the report generator is done before running the test:
Init:
Test start:
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论