smicyk / groovy-jmeter

A Groovy-based DSL for building and running JMeter test plans from command line and more.
Apache License 2.0
13 stars 1 forks source link

View Results Tree defaults #72

Closed AntonioSun closed 2 years ago

AntonioSun commented 2 years ago

Following up on #59

As per the guideline of

All keywords in the DSL has predefined default values for its properties. For example, each keyword has name property with a default value defined. If there is no name property given for the keyword, the script will use the default value.

I'm proposing the view() to have the following default values:

These are the defaults when you add a View Results Tree component to JMeter GUI.

I.e., this need to be fixe:

Caught: net.simonix.dsl.jmeter.model.ValidationException: The keyword 'view' is missing required properties. Did you forget to add any of the required properties [file]?

Comments?

smicyk commented 2 years ago

I added fix for the file property and name, so:

You can still use command line variable to dynamically set the enabled property depending if you want to run the script or just generate the jmx file.

AntonioSun commented 2 years ago

Hmm... how do I upgrade?

Would everything get upgraded by itself next time I run it?

smicyk commented 2 years ago

If you want latest changes you need to build from source. When you clone use build_local or build_docker script depending how you use the script. Otherwise you need to wait for next version release.

AntonioSun commented 2 years ago

Gotya. thx! I'll wait.