neoload 1.3.19.dev3__tar.gz → 1.3.19.dev4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/PKG-INFO +14 -4
  2. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/README.md +13 -3
  3. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/checkvu.py +27 -19
  4. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/validate.py +1 -1
  5. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/checkvu_runner.py +124 -21
  6. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/jar_signature.py +71 -12
  7. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/schema_validation.py +6 -4
  8. neoload-1.3.19.dev4/neoload/version.py +1 -0
  9. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload.egg-info/PKG-INFO +14 -4
  10. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_checkvu.py +257 -19
  11. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_cli_lib/test_etag_caching.py +11 -0
  12. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_cli_lib/test_jar_signature.py +72 -1
  13. neoload-1.3.19.dev3/neoload/version.py +0 -1
  14. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/.github/workflows/python-integration-tests.yml +0 -0
  15. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/.github/workflows/python-package.yml +0 -0
  16. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/.github/workflows/python-post-release-changelog-pr.yml +0 -0
  17. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/.github/workflows/python-release.yml +0 -0
  18. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/.gitignore +0 -0
  19. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/.travis.yml +0 -0
  20. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/CHANGELOG.md +0 -0
  21. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/LICENSE +0 -0
  22. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/MANIFEST.in +0 -0
  23. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/docker/Dockerfile +0 -0
  24. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/aws/.nlignore +0 -0
  25. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/aws/buildspec.yaml +0 -0
  26. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/azure_devops/.nlignore +0 -0
  27. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/azure_devops/Azure_DevOps_Pipeline_NeoLoad_CLI.jpg +0 -0
  28. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/azure_devops/Azure_DevOps_Pipeline_NeoLoad_SLA_jUnit.jpg +0 -0
  29. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/azure_devops/README.md +0 -0
  30. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/azure_devops/neoload-cli-docker.yml +0 -0
  31. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/azure_devops/neoload-cli-dyninfra.yml +0 -0
  32. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/bamboo-specs/.nlignore +0 -0
  33. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/bamboo-specs/Bamboo_Pipeline_NeoLoad_SLA_jUnit.jpg +0 -0
  34. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/bamboo-specs/README.md +0 -0
  35. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/bamboo-specs/bamboo-v1.yaml +0 -0
  36. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/bamboo-specs/bamboo-v2.yaml +0 -0
  37. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/github/neoload-github-actions-demo.yml +0 -0
  38. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/gitlab/.nlignore +0 -0
  39. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/gitlab/openshift.gitlab-ci.yml +0 -0
  40. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/jenkins/Jenkinsfile_dyninfra +0 -0
  41. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/examples/pipelines/jenkins/Jenkinsfile_slafails +0 -0
  42. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/__init__.py +0 -0
  43. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/__main__.py +0 -0
  44. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/__init__.py +0 -0
  45. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/config.py +0 -0
  46. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/docker.py +0 -0
  47. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/fastfail.py +0 -0
  48. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/login.py +0 -0
  49. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/logout.py +0 -0
  50. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/logs.py +0 -0
  51. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/logs_url.py +0 -0
  52. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/project.py +0 -0
  53. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/report.py +0 -0
  54. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/run.py +0 -0
  55. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/status.py +0 -0
  56. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/stop.py +0 -0
  57. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/test_results.py +0 -0
  58. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/test_settings.py +0 -0
  59. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/wait.py +0 -0
  60. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/workspaces.py +0 -0
  61. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/commands/zones.py +0 -0
  62. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/__init__.py +0 -0
  63. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/bad_as_code_exception.py +0 -0
  64. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/cli_exception.py +0 -0
  65. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/config_global.py +0 -0
  66. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/displayer.py +0 -0
  67. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/docker_lib.py +0 -0
  68. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/filtering.py +0 -0
  69. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/hooks.py +0 -0
  70. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/logs_tools.py +0 -0
  71. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/logs_traduction_map.py +0 -0
  72. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/name_resolver.py +0 -0
  73. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/neoLoad_project.py +0 -0
  74. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/paths.py +0 -0
  75. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/resources.py +0 -0
  76. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/rest_crud.py +0 -0
  77. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/running_tools.py +0 -0
  78. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/tools.py +0 -0
  79. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/neoload_cli_lib/user_data.py +0 -0
  80. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/__init__.py +0 -0
  81. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/certs/__init__.py +0 -0
  82. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/certs/globalsign-code-signing-root-r45.jks +0 -0
  83. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/__init__.py +0 -0
  84. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/builtin_console_summary.j2 +0 -0
  85. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/builtin_transactions_csv.j2 +0 -0
  86. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/common/common.js +0 -0
  87. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/common/external_data.html.j2 +0 -0
  88. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/common/general_details.html.j2 +0 -0
  89. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/common/header.j2 +0 -0
  90. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/common/hits_per_second.html.j2 +0 -0
  91. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/common/running_vus.html.j2 +0 -0
  92. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/common/styles.css +0 -0
  93. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/common/transactions.html.j2 +0 -0
  94. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/common/workload_characteristics.html.j2 +0 -0
  95. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/custom_transactions_export.j2 +0 -0
  96. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/sample-custom-report.html.j2 +0 -0
  97. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/sample-trends-report.html.j2 +0 -0
  98. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/trends/general_details.html.j2 +0 -0
  99. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/trends/transaction_trends.html.j2 +0 -0
  100. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/jinja/trends/trends.js +0 -0
  101. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/templates/__init__.py +0 -0
  102. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/resources/templates/default.yaml +0 -0
  103. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload/version_manager.py +0 -0
  104. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload.egg-info/SOURCES.txt +0 -0
  105. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload.egg-info/dependency_links.txt +0 -0
  106. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload.egg-info/entry_points.txt +0 -0
  107. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload.egg-info/requires.txt +0 -0
  108. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/neoload.egg-info/top_level.txt +0 -0
  109. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/notes/PSB_20200421_TODO.txt +0 -0
  110. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/notes/acceptance.txt +0 -0
  111. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/pull_request_template.md +0 -0
  112. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/pytest.ini +0 -0
  113. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/requirements.txt +0 -0
  114. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/resources/as-code.latest.schema.json +0 -0
  115. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/setup.cfg +0 -0
  116. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/setup.py +0 -0
  117. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/sonar-project.properties +0 -0
  118. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/__init__.py +0 -0
  119. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/docker/test_docker_cleanups.py +0 -0
  120. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/docker/test_docker_connections.py +0 -0
  121. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/docker/test_docker_hooks.py +0 -0
  122. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/fastfail/test_fastfail_slas.py +0 -0
  123. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/project/test_project_create.py +0 -0
  124. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/project/test_upload.py +0 -0
  125. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/project/test_upload_with_password.py +0 -0
  126. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/report/conftest.py +0 -0
  127. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/report/test_report.py +0 -0
  128. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/report/test_report_json_output.py +0 -0
  129. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/report/test_report_templates.py +0 -0
  130. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/report/test_report_transactions.py +0 -0
  131. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/report/test_report_trends.py +0 -0
  132. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/report/test_trends_json_output.py +0 -0
  133. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/report/test_trends_templates.py +0 -0
  134. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/status/test_status_with_names.py +0 -0
  135. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_config.py +0 -0
  136. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_login.py +0 -0
  137. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_logout.py +0 -0
  138. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_logs/test_logs.py +0 -0
  139. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_logs_url.py +0 -0
  140. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_results/test_result_delete.py +0 -0
  141. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_results/test_result_ls.py +0 -0
  142. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_results/test_result_patch.py +0 -0
  143. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_results/test_result_put.py +0 -0
  144. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_run.py +0 -0
  145. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_settings/test_create.py +0 -0
  146. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_settings/test_createorpatch.py +0 -0
  147. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_settings/test_delete.py +0 -0
  148. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_settings/test_ls.py +0 -0
  149. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_settings/test_patch.py +0 -0
  150. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_settings/test_put.py +0 -0
  151. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/test_validate.py +0 -0
  152. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/wait/test_wait.py +0 -0
  153. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/workspaces/test_workspace_ls.py +0 -0
  154. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/workspaces/test_workspace_use.py +0 -0
  155. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/commands/zones/test_zones.py +0 -0
  156. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/conftest.py +0 -0
  157. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/helpers/__init__.py +0 -0
  158. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/helpers/test_utils.py +0 -0
  159. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/expected/fastfail.log +0 -0
  160. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/expected/junit-sla.xml +0 -0
  161. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/expected/run.log +0 -0
  162. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/expected/summary.txt +0 -0
  163. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/runAllScripts.sh +0 -0
  164. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/scripts/cleanup.sh +0 -0
  165. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/scripts/project.upload.test.sh +0 -0
  166. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/scripts/results.delete.test.sh +0 -0
  167. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/scripts/results.patch.test.sh +0 -0
  168. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/scripts/results.put.test.sh +0 -0
  169. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/scripts/run.fastfail.test.sh +0 -0
  170. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/scripts/run.oneliner.test.sh +0 -0
  171. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/scripts/run.test.sh +0 -0
  172. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/scripts/settings.create.delete.test.sh +0 -0
  173. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/scripts/settings.patch.test.sh +0 -0
  174. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/scripts/settings.put.test.sh +0 -0
  175. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/scripts/validate.test.sh +0 -0
  176. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/scripts/wait.test.sh +0 -0
  177. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/integration/scripts/zones.ls.test.sh +0 -0
  178. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_cli_lib/test_SchemaValidation.py +0 -0
  179. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_cli_lib/test_displayer.py +0 -0
  180. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_cli_lib/test_docker.py +0 -0
  181. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_cli_lib/test_filtering.py +0 -0
  182. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_cli_lib/test_include_resolution.py +0 -0
  183. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_cli_lib/test_rest_crud.py +0 -0
  184. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_cli_lib/test_running_tools.py +0 -0
  185. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_cli_lib/test_tools.py +0 -0
  186. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_cli_lib/test_user_data.py +0 -0
  187. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_cli_lib/test_validator_selection.py +0 -0
  188. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_projects/.nlignore +0 -0
  189. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_projects/broken_yaml.yaml +0 -0
  190. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_projects/circular_includes/a.yaml +0 -0
  191. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_projects/circular_includes/b.yaml +0 -0
  192. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_projects/empty.yaml +0 -0
  193. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_projects/example_1/.gitlab-ci.yml +0 -0
  194. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_projects/example_1/.nlignore +0 -0
  195. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_projects/example_1/data/cities.csv +0 -0
  196. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_projects/example_1/default.yaml +0 -0
  197. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_projects/example_1/paths/geosearch_get.yaml +0 -0
  198. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_projects/example_1/slas/prod.yaml +0 -0
  199. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_projects/example_1/slas/uat.yaml +0 -0
  200. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_projects/example_1.zip +0 -0
  201. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_projects/example_2.zip +0 -0
  202. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_projects/invalid_to_schema.yaml +0 -0
  203. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/neoload_projects/simpledemo.yml +0 -0
  204. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/resources/__init__.py +0 -0
  205. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/resources/expected_neoload_junit_slas.xml +0 -0
  206. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/resources/expected_summary_text_no_sla.txt +0 -0
  207. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/resources/expected_summary_text_with_sla.txt +0 -0
  208. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/resources/jinja/__init__.py +0 -0
  209. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/resources/report/expected_custom_report.html +0 -0
  210. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/resources/report/expected_custom_report_filtered.html +0 -0
  211. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/resources/report/expected_custom_transactions.csv +0 -0
  212. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/resources/report/expected_report.json +0 -0
  213. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/resources/report/expected_report_filtered.json +0 -0
  214. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/resources/report/expected_template_transactions.json +0 -0
  215. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/resources/report/expected_template_transactions_csv.csv +0 -0
  216. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/resources/report/expected_template_trends.html +0 -0
  217. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/resources/report/expected_trends.json +0 -0
  218. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/resources/report/raw_expected_custom_report.html +0 -0
  219. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/resources/report/raw_expected_report.json +0 -0
  220. {neoload-1.3.19.dev3 → neoload-1.3.19.dev4}/tests/test_readme.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: neoload
3
- Version: 1.3.19.dev3
3
+ Version: 1.3.19.dev4
4
4
  Summary: A command-line native utility for launching and observing NeoLoad performance tests
5
5
  Home-page: https://github.com/Neotys-Labs/neoload-cli
6
6
  Author: Neotys
@@ -231,12 +231,22 @@ neoload checkvu -u myUser default.yaml
231
231
  ```
232
232
  - `PROJECT_FILE` is a path to an as-code yaml file. The CLI validates it against the as-code schema first (same as `neoload validate`), using `-s, --as-code-schema` to override the default schema.
233
233
  - `--play-think-time` plays think times defined on pages and delays marked as think time. Disabled by default (same as the CheckVU advanced setting).
234
- - `-e, --engine-jar, --jar <path-or-url>` skips the JAR resolution below and runs a local patched file (hotfix) or an explicit download URL. If omitted: reuse the single cached JAR if one exists (no network call); otherwise detect the OS, call `redirect.php` (`version=latest`), follow the 302 to `files.tricentis.com`, and cache the JAR under the filename from the final `Content-Disposition` (e.g. `neoload-checkvu-cli-2026.3.0-linux.jar`). Clear the cache directory to force a fresh download after a new CheckVU release.
235
- - `-j, --java` selects the java executable; by default `JAVA_HOME/bin/java` then `java` on the PATH. Java 21+ is required and verified before running. The JAR is launched with `-XX:TieredStopAtLevel=1 -Xms256m -Xmx512m -XX:+UseSerialGC` to keep startup short, and `JAVA_TOOL_OPTIONS` is emptied for that process so these options always apply and do not reach the Load Generator it spawns. Prefer a JDK over JRE so that the CLI can check the JAR's integrity, or bypass checks using `--unsafe-skip-jar-verification`
234
+ - `-e, --engine-jar, --jar <path-or-url>` runs a local JAR or an explicit download URL. If omitted: reuse the single cached JAR if one exists (no network call). If the cache directory has no JAR, the command fails, creates that directory, and prints its path. Copy the CheckVU JAR for your OS into that folder: https://github.com/Tricentis-NeoLoad/neoload-root/actions/runs/39966419452
235
+ - `-j, --java` selects the java executable; by default `JAVA_HOME/bin/java` then `java` on the PATH. Java 21 is required and verified before running (other major versions such as 25 are rejected). The JAR is launched with `-XX:TieredStopAtLevel=1 -Xms256m -Xmx512m -XX:+UseSerialGC` to keep startup short, and `JAVA_TOOL_OPTIONS` is emptied for that process so these options always apply and do not reach the Load Generator it spawns. Use a JDK rather than a JRE: the JDK provides `jarsigner`, which the CLI uses to check that the JAR is made by Tricentis. With a JRE the command stops with an error, unless you bypass the check using `--unsafe-skip-jar-verification`
236
236
  - `-o, --output <path>` sets the directory that receives `checkvu-result.json` and the `checkvu-content/` request and response dump. When omitted, nothing is written to disk and only the console output is produced. Relative paths resolve from the current directory, not from `PROJECT_FILE`. The dump is not redacted, so treat it as confidential.
237
237
  - `-w, --work-dir <path>` sets the directory used for engine files and logs. Defaults to a temporary directory deleted afterwards unless `--keep-temp-work-dir` is set; a directory you supply yourself is never deleted.
238
238
  - `--app-proxy`, `--app-proxy-username` and `--app-proxy-bypass` configure the proxy used for application traffic. The proxy password is set with `CHECKVU_CLI_APP_PROXY_PASSWORD` environment variable instead so it never shows up in the process list or CI logs.
239
- - `--controller-properties` and `--load-generator-properties` are advanced options to merge a `.properties` file into the JAR's embedded `controller.properties` / `agent.properties`.
239
+ - `--controller-properties` and `--load-generator-properties` are advanced options to merge a `.properties` file into the JAR's embedded `controller.properties` / `agent.properties`. When CheckVU starts after `neoload login`, it reuses the saved URL and token through a temporary `[Web]` overlay: SaaS keys when the saved URL is the default SaaS API, and on-premise keys for any other URL. Those login keys win over the same keys in an explicit overlay. The temporary overlay is deleted after the run. If `--work-dir` or `--keep-temp-work-dir` retains the engine work directory, its merged `conf/controller.properties` also remains and contains the token in clear text; treat that directory as confidential.
240
+
241
+ > [!IMPORTANT]
242
+ > A **Secret Vault variable** is resolved by **NeoLoad Web**. CheckVU can use one only when the CLI already has a NeoLoad Web connection. [Log in to NeoLoad Web](#login-to-neoload-web) first, then run CheckVU:
243
+ >
244
+ > ```
245
+ > neoload login [TOKEN]
246
+ > neoload checkvu default.yaml
247
+ > ```
248
+ >
249
+ > Without that connection, CheckVU cannot resolve the Secret Vault variable.
240
250
 
241
251
  ## Reporting
242
252
 
@@ -189,12 +189,22 @@ neoload checkvu -u myUser default.yaml
189
189
  ```
190
190
  - `PROJECT_FILE` is a path to an as-code yaml file. The CLI validates it against the as-code schema first (same as `neoload validate`), using `-s, --as-code-schema` to override the default schema.
191
191
  - `--play-think-time` plays think times defined on pages and delays marked as think time. Disabled by default (same as the CheckVU advanced setting).
192
- - `-e, --engine-jar, --jar <path-or-url>` skips the JAR resolution below and runs a local patched file (hotfix) or an explicit download URL. If omitted: reuse the single cached JAR if one exists (no network call); otherwise detect the OS, call `redirect.php` (`version=latest`), follow the 302 to `files.tricentis.com`, and cache the JAR under the filename from the final `Content-Disposition` (e.g. `neoload-checkvu-cli-2026.3.0-linux.jar`). Clear the cache directory to force a fresh download after a new CheckVU release.
193
- - `-j, --java` selects the java executable; by default `JAVA_HOME/bin/java` then `java` on the PATH. Java 21+ is required and verified before running. The JAR is launched with `-XX:TieredStopAtLevel=1 -Xms256m -Xmx512m -XX:+UseSerialGC` to keep startup short, and `JAVA_TOOL_OPTIONS` is emptied for that process so these options always apply and do not reach the Load Generator it spawns. Prefer a JDK over JRE so that the CLI can check the JAR's integrity, or bypass checks using `--unsafe-skip-jar-verification`
192
+ - `-e, --engine-jar, --jar <path-or-url>` runs a local JAR or an explicit download URL. If omitted: reuse the single cached JAR if one exists (no network call). If the cache directory has no JAR, the command fails, creates that directory, and prints its path. Copy the CheckVU JAR for your OS into that folder: https://github.com/Tricentis-NeoLoad/neoload-root/actions/runs/39966419452
193
+ - `-j, --java` selects the java executable; by default `JAVA_HOME/bin/java` then `java` on the PATH. Java 21 is required and verified before running (other major versions such as 25 are rejected). The JAR is launched with `-XX:TieredStopAtLevel=1 -Xms256m -Xmx512m -XX:+UseSerialGC` to keep startup short, and `JAVA_TOOL_OPTIONS` is emptied for that process so these options always apply and do not reach the Load Generator it spawns. Use a JDK rather than a JRE: the JDK provides `jarsigner`, which the CLI uses to check that the JAR is made by Tricentis. With a JRE the command stops with an error, unless you bypass the check using `--unsafe-skip-jar-verification`
194
194
  - `-o, --output <path>` sets the directory that receives `checkvu-result.json` and the `checkvu-content/` request and response dump. When omitted, nothing is written to disk and only the console output is produced. Relative paths resolve from the current directory, not from `PROJECT_FILE`. The dump is not redacted, so treat it as confidential.
195
195
  - `-w, --work-dir <path>` sets the directory used for engine files and logs. Defaults to a temporary directory deleted afterwards unless `--keep-temp-work-dir` is set; a directory you supply yourself is never deleted.
196
196
  - `--app-proxy`, `--app-proxy-username` and `--app-proxy-bypass` configure the proxy used for application traffic. The proxy password is set with `CHECKVU_CLI_APP_PROXY_PASSWORD` environment variable instead so it never shows up in the process list or CI logs.
197
- - `--controller-properties` and `--load-generator-properties` are advanced options to merge a `.properties` file into the JAR's embedded `controller.properties` / `agent.properties`.
197
+ - `--controller-properties` and `--load-generator-properties` are advanced options to merge a `.properties` file into the JAR's embedded `controller.properties` / `agent.properties`. When CheckVU starts after `neoload login`, it reuses the saved URL and token through a temporary `[Web]` overlay: SaaS keys when the saved URL is the default SaaS API, and on-premise keys for any other URL. Those login keys win over the same keys in an explicit overlay. The temporary overlay is deleted after the run. If `--work-dir` or `--keep-temp-work-dir` retains the engine work directory, its merged `conf/controller.properties` also remains and contains the token in clear text; treat that directory as confidential.
198
+
199
+ > [!IMPORTANT]
200
+ > A **Secret Vault variable** is resolved by **NeoLoad Web**. CheckVU can use one only when the CLI already has a NeoLoad Web connection. [Log in to NeoLoad Web](#login-to-neoload-web) first, then run CheckVU:
201
+ >
202
+ > ```
203
+ > neoload login [TOKEN]
204
+ > neoload checkvu default.yaml
205
+ > ```
206
+ >
207
+ > Without that connection, CheckVU cannot resolve the Secret Vault variable.
198
208
 
199
209
  ## Reporting
200
210
 
@@ -1,3 +1,4 @@
1
+ import logging
1
2
  import os
2
3
  import sys
3
4
 
@@ -10,9 +11,9 @@ __yaml_extensions = (".yaml", ".yml")
10
11
 
11
12
  @click.command()
12
13
  @click.option('-e', '--engine-jar', '--jar',
13
- help="Skip the latest-JAR download and run this CheckVU engine: a local patched file "
14
- "(hotfix / air-gapped) or a download URL. If omitted, the latest JAR for this OS "
15
- "is downloaded and cached.",
14
+ help="Run this CheckVU engine: a local JAR or a download URL. If omitted, the JAR "
15
+ "already cached for this OS is used. If none is cached, the command fails and "
16
+ "prints the folder where the CheckVU JAR must be copied.",
16
17
  metavar="PATH|URL")
17
18
  @click.option('-j', '--java', help="Path to the java executable to use. "
18
19
  "Defaults to JAVA_HOME/bin/java, then java on the PATH.", metavar="PATH")
@@ -24,7 +25,7 @@ __yaml_extensions = (".yaml", ".yml")
24
25
  "Disabled by default. Equivalent to setting CHECKVU_CLI_PLAY_THINK_TIME=1.")
25
26
  @click.option('-s', '--as-code-schema', default=None,
26
27
  help="NeoLoad as-code schema (URL or local path) to validate PROJECT_FILE against. "
27
- "When omitted, download schemas/v<schemaVersion>/as-code.schema.json from neoload-models (v3). "
28
+ "When omitted, download schemas/v<schemaVersion>/as-code.schema.json from neoload-models tag 3.4.22. "
28
29
  "If schemaVersion is absent, use schemas/v3.0/as-code.schema.json.",
29
30
  metavar="PATH|URL")
30
31
  @click.option('--ssl-cert', default="",
@@ -70,7 +71,9 @@ __yaml_extensions = (".yaml", ".yml")
70
71
  @click.option('--keep-temp-work-dir', is_flag=True, default=False,
71
72
  help="Keep the temporary work directory after the run instead of deleting it. "
72
73
  "Equivalent to setting CHECKVU_CLI_KEEP_TEMP_WORK_DIR=1. "
73
- "Has no effect when --work-dir is already set, since that directory is never auto-deleted.")
74
+ "Has no effect when --work-dir is already set, since that directory is never auto-deleted. "
75
+ "After neoload login, a retained work directory contains the NeoLoad Web token in clear "
76
+ "text in conf/controller.properties; treat it as confidential.")
74
77
  @click.argument('project_file')
75
78
  def cli(engine_jar, java, user_path, play_think_time, as_code_schema, ssl_cert, unsafe_skip_jar_verification,
76
79
  controller_properties, load_generator_properties,
@@ -102,19 +105,24 @@ def cli(engine_jar, java, user_path, play_think_time, as_code_schema, ssl_cert,
102
105
 
103
106
  resolved_jar = checkvu_runner.resolve_jar(engine_jar, ssl_cert, java_executable,
104
107
  verify_signature=not unsafe_skip_jar_verification)
108
+ logging.debug("Using CheckVU JAR at '%s'", os.path.abspath(resolved_jar))
109
+ if not engine_jar:
110
+ checkvu_runner.check_jar_build(java_executable, resolved_jar)
105
111
 
106
- command = checkvu_runner.build_command(
107
- java_executable, resolved_jar, project_file,
108
- user_path=user_path,
109
- play_think_time=play_think_time,
110
- controller_properties=controller_properties,
111
- load_generator_properties=load_generator_properties,
112
- app_proxy=app_proxy,
113
- app_proxy_username=app_proxy_username,
114
- app_proxy_bypass=app_proxy_bypass,
115
- output=output,
116
- work_dir=work_dir,
117
- keep_temp_work_dir=keep_temp_work_dir,
118
- )
119
- exit_code = checkvu_runner.run_checkvu(command)
112
+ with checkvu_runner.prepare_controller_properties(
113
+ controller_properties) as resolved_controller_properties:
114
+ command = checkvu_runner.build_command(
115
+ java_executable, resolved_jar, project_file,
116
+ user_path=user_path,
117
+ play_think_time=play_think_time,
118
+ controller_properties=resolved_controller_properties,
119
+ load_generator_properties=load_generator_properties,
120
+ app_proxy=app_proxy,
121
+ app_proxy_username=app_proxy_username,
122
+ app_proxy_bypass=app_proxy_bypass,
123
+ output=output,
124
+ work_dir=work_dir,
125
+ keep_temp_work_dir=keep_temp_work_dir,
126
+ )
127
+ exit_code = checkvu_runner.run_checkvu(command)
120
128
  sys.exit(exit_code)
@@ -4,7 +4,7 @@ import neoload_cli_lib.schema_validation as schema_validation
4
4
  @click.command()
5
5
  @click.option('-s', '--as-code-schema', default=None,
6
6
  help="NeoLoad as-code schema (URL or local path) to validate FILE against. "
7
- "When omitted, download schemas/v<schemaVersion>/as-code.schema.json from neoload-models (v3). "
7
+ "When omitted, download schemas/v<schemaVersion>/as-code.schema.json from neoload-models tag 3.4.22. "
8
8
  "If schemaVersion is absent, use schemas/v3.0/as-code.schema.json.",
9
9
  metavar="PATH|URL")
10
10
  @click.option('--schema-url', 'schema_url', default=None, hidden=True,
@@ -4,13 +4,16 @@ import re
4
4
  import shutil
5
5
  import subprocess
6
6
  import sys
7
+ import tempfile
8
+ from contextlib import contextmanager
7
9
  from urllib.parse import unquote, urlencode, urlparse
8
10
 
9
11
  import requests
10
12
 
11
- from neoload_cli_lib import cli_exception, jar_signature, paths
13
+ from neoload_cli_lib import cli_exception, jar_signature, paths, user_data
12
14
 
13
- MIN_JAVA_VERSION = 21
15
+ REQUIRED_JAVA_VERSION = 21
16
+ SAAS_API_URL = "https://neoload-api.saas.neotys.com/"
14
17
 
15
18
  # Public download goes through www.neotys.com/redirect.php (same contract as
16
19
  # NeoLoad installer direct-download). CheckVU is not a CDN URL.
@@ -30,8 +33,11 @@ SUPPORTED_OS = (OS_LINUX, OS_LINUX_ARM64, OS_MAC, OS_MAC_ARM64, OS_WIN32_X64)
30
33
 
31
34
  CACHE_DIR_NAME = "checkvu"
32
35
  FALLBACK_JAR_NAME = "checkvu.jar"
36
+ CHECKVU_JAR_DOWNLOAD_URL = "https://github.com/Tricentis-NeoLoad/neoload-root/actions/runs/39966419452"
37
+ EXPECTED_NLG_BUILD = "3747"
33
38
 
34
39
  __java_version_pattern = re.compile(r'version "(\d+)(?:\.(\d+))?')
40
+ __nlg_build_pattern = re.compile(r"build=\d+-(\d+)")
35
41
  __content_disposition_filename = re.compile(
36
42
  r"filename\*?=(?:UTF-8\'\')?\"?([^\";]+)\"?", re.IGNORECASE)
37
43
  __shipped_jar_version_pattern = re.compile(
@@ -145,7 +151,7 @@ def resolve_java(java_option=None):
145
151
  return java_option
146
152
  java_home = os.environ.get("JAVA_HOME")
147
153
  if java_home:
148
- candidate = os.path.join(java_home, "bin", "java")
154
+ candidate = os.path.join(java_home, "bin", "java.exe" if os.name == "nt" else "java")
149
155
  resolved = shutil.which(candidate) or (candidate if os.path.isfile(candidate) else None)
150
156
  if resolved:
151
157
  return resolved
@@ -153,9 +159,9 @@ def resolve_java(java_option=None):
153
159
  if found:
154
160
  return found
155
161
  raise cli_exception.CliException(
156
- "No Java runtime found. CheckVU requires Java {0} or later.\n"
157
- "Install a JDK {0}+ and either add it to your PATH, set JAVA_HOME, "
158
- "or pass --java <path-to-java>.".format(MIN_JAVA_VERSION))
162
+ "No Java runtime found. CheckVU requires Java {0}.\n"
163
+ "Install a JDK {0} and either add it to your PATH, set JAVA_HOME, "
164
+ "or pass --java <path-to-java>.".format(REQUIRED_JAVA_VERSION))
159
165
 
160
166
 
161
167
  def parse_java_major_version(version_output):
@@ -171,7 +177,7 @@ def parse_java_major_version(version_output):
171
177
 
172
178
 
173
179
  def check_java_version(java):
174
- """Runs `java -version` and enforces the minimum supported major version.
180
+ """Runs `java -version` and enforces the required major version.
175
181
  `java -version` writes to stderr, so we merge stderr into stdout to capture it.
176
182
  """
177
183
  try:
@@ -183,22 +189,59 @@ def check_java_version(java):
183
189
  except OSError as err:
184
190
  raise cli_exception.CliException(
185
191
  "Unable to run '{0}': {1}\n"
186
- "Install a JDK {2}+ and either add it to your PATH, set JAVA_HOME, "
187
- "or pass --java <path-to-java>.".format(java, str(err), MIN_JAVA_VERSION))
192
+ "Install a JDK {2} and either add it to your PATH, set JAVA_HOME, "
193
+ "or pass --java <path-to-java>.".format(java, str(err), REQUIRED_JAVA_VERSION))
188
194
 
189
195
  output = completed.stdout or ""
190
196
  major = parse_java_major_version(output)
191
197
  if major is None:
192
198
  raise cli_exception.CliException(
193
199
  "Could not determine the Java version from '{0} -version':\n{1}".format(java, output.strip()))
194
- if major < MIN_JAVA_VERSION:
200
+ if major != REQUIRED_JAVA_VERSION:
195
201
  raise cli_exception.CliException(
196
- "CheckVU requires Java {0} or later, but '{1}' reports major version {2}.\n"
197
- "Install a JDK {0}+ and either add it to your PATH, set JAVA_HOME, "
198
- "or pass --java <path-to-java>.".format(MIN_JAVA_VERSION, java, major))
202
+ "CheckVU requires Java {0}, but '{1}' reports major version {2}.\n"
203
+ "Install a JDK {0} and either add it to your PATH, set JAVA_HOME, "
204
+ "or pass --java <path-to-java>.".format(REQUIRED_JAVA_VERSION, java, major))
199
205
  return major
200
206
 
201
207
 
208
+ def parse_nlg_build(version_output):
209
+ """Return the NLG build number from the first line of `java -jar … --version`.
210
+
211
+ Example: NeoLoad CheckVU CLI 2026.3.0;build=20260921-3747 -> 3747
212
+ """
213
+ lines = (version_output or "").splitlines()
214
+ if not lines:
215
+ return None
216
+ match = __nlg_build_pattern.search(lines[0])
217
+ if match is None:
218
+ return None
219
+ return match.group(1)
220
+
221
+
222
+ def check_jar_build(java, jar):
223
+ """Run `java -jar <jar> --version` without printing it, and require the expected NLG build."""
224
+ try:
225
+ completed = subprocess.run(
226
+ [java, "-jar", jar, "--version"],
227
+ stdout=subprocess.PIPE,
228
+ stderr=subprocess.STDOUT,
229
+ universal_newlines=True)
230
+ except OSError as err:
231
+ raise cli_exception.CliException(
232
+ "Unable to read the CheckVU JAR version with '{0} -jar {1} --version': {2}".format(
233
+ java, jar, str(err)))
234
+
235
+ output = completed.stdout or ""
236
+ first_line = output.splitlines()[0].strip() if output.strip() else "unknown"
237
+ actual = parse_nlg_build(output)
238
+ if actual != EXPECTED_NLG_BUILD:
239
+ raise cli_exception.CliException(
240
+ "the JAR build version is not the correct one. Actual: {0} expected build: {1}".format(
241
+ first_line, EXPECTED_NLG_BUILD))
242
+ return actual
243
+
244
+
202
245
  def is_url(spec):
203
246
  return spec is not None and "://" in spec
204
247
 
@@ -210,7 +253,7 @@ def resolve_jar(engine_jar=None, ssl_cert="", java_executable=None, verify_signa
210
253
  1. --jar / --engine-jar local file: skip download, run that JAR (hotfix).
211
254
  2. --jar / --engine-jar URL: download that URL into the cache (1 JAR).
212
255
  3. a cached JAR, if one exists: reused as-is, no network call.
213
- 4. redirect.php latest for this OS, only when no JAR is cached yet.
256
+ 4. otherwise: create the cache directory and fail, asking for the CheckVU JAR.
214
257
  """
215
258
  jar = _locate_jar(engine_jar, ssl_cert)
216
259
  if verify_signature:
@@ -233,12 +276,16 @@ def _locate_jar(engine_jar, ssl_cert):
233
276
  if cached:
234
277
  return cached
235
278
 
236
- try:
237
- return download_jar(build_redirect_url(), ssl_cert)
238
- except cli_exception.CliException as err:
239
- raise cli_exception.CliException(
240
- "{0}\nNo cached JAR to fall back on. Provide one with --jar <path|url> "
241
- "for an air-gapped or hotfix run.".format(err))
279
+ cache_dir = get_cache_dir()
280
+ os.makedirs(cache_dir, exist_ok=True)
281
+ raise cli_exception.CliException(
282
+ "CheckVU is not available in the cache directory.\n"
283
+ "Please copy the CheckVU JAR file of your corresponding OS into this folder:\n"
284
+ "{0}\n"
285
+ "The CheckVU JAR can be downloaded here:\n"
286
+ "{1}\n"
287
+ "You can also download NeoLoad installers from there.\n".format(
288
+ cache_dir, CHECKVU_JAR_DOWNLOAD_URL))
242
289
 
243
290
 
244
291
  def _keep_only_jar(cache_dir, keep_path):
@@ -271,6 +318,7 @@ def download_jar(url, ssl_cert=""):
271
318
  cache_dir = get_cache_dir()
272
319
  os.makedirs(cache_dir, exist_ok=True)
273
320
  partial_destination = None
321
+ print("Downloading CheckVU JAR from " + url + "\n", flush=True)
274
322
  try:
275
323
  with requests.get(url, stream=True, verify=verify, allow_redirects=True) as response:
276
324
  response.raise_for_status()
@@ -280,7 +328,6 @@ def download_jar(url, ssl_cert=""):
280
328
  _keep_only_jar(cache_dir, destination)
281
329
  return destination
282
330
 
283
- print("Downloading CheckVU JAR from " + url + "\n")
284
331
  total_bytes = int(response.headers.get("content-length", 0))
285
332
  progress_bar = None
286
333
  if tools.is_user_interactive():
@@ -312,6 +359,62 @@ def download_jar(url, ssl_cert=""):
312
359
  if partial_destination and os.path.isfile(partial_destination):
313
360
  os.remove(partial_destination)
314
361
 
362
+
363
+ def build_nlw_controller_properties(login_data):
364
+ """Build the controller properties used by CheckVU to reach NeoLoad Web."""
365
+ url = login_data.get_url()
366
+ token = login_data.get_token()
367
+ if url.rstrip("/") == SAAS_API_URL.rstrip("/"):
368
+ return {
369
+ "neoload.web.deployment.type": "SAAS",
370
+ "neoload.web.saas.secretToken": token,
371
+ }
372
+ return {
373
+ "neoload.web.deployment.type": "ONPREMISE",
374
+ "neoload.web.onpremise.url": url,
375
+ "neoload.web.onpremise.secretToken": token,
376
+ }
377
+
378
+
379
+ def _escape_property_value(value):
380
+ return str(value).replace("\\", "\\\\").replace("\r", "\\r").replace("\n", "\\n")
381
+
382
+
383
+ @contextmanager
384
+ def prepare_controller_properties(controller_properties=None):
385
+ """Merge saved NeoLoad Web login details into a temporary controller overlay.
386
+
387
+ An explicit user overlay is copied first, then the current login values are
388
+ appended so they take precedence. Without saved login data, the original
389
+ overlay path is returned unchanged.
390
+ """
391
+ login_data = user_data.get_user_data(throw=False)
392
+ if login_data is None:
393
+ yield controller_properties
394
+ return
395
+
396
+ with tempfile.TemporaryDirectory(prefix="neoload-checkvu-") as temp_dir:
397
+ generated_path = os.path.join(temp_dir, "controller.properties")
398
+ if controller_properties:
399
+ if not os.path.isfile(controller_properties):
400
+ raise cli_exception.CliException(
401
+ "Controller properties file not found: " + controller_properties)
402
+ shutil.copyfile(controller_properties, generated_path)
403
+
404
+ has_existing_content = (
405
+ os.path.isfile(generated_path) and os.path.getsize(generated_path) > 0
406
+ )
407
+ properties = build_nlw_controller_properties(login_data)
408
+ with open(generated_path, "a", encoding="utf-8") as stream:
409
+ if has_existing_content:
410
+ stream.write("\n")
411
+ stream.write("[Web]\n")
412
+ for key, value in properties.items():
413
+ stream.write("{0}={1}\n".format(key, _escape_property_value(value)))
414
+
415
+ yield generated_path
416
+
417
+
315
418
  # LOAD-39125: CheckVU CLI JVM flags. Passed on the java command line only — not JAVA_TOOL_OPTIONS
316
419
  # (the Load Generator child process would inherit them).
317
420
  CHECKVU_VM_OPTIONS = [
@@ -1,7 +1,9 @@
1
+ import logging
1
2
  import os
2
3
  import shutil
3
4
  import subprocess
4
5
  import zipfile
6
+ from itertools import groupby
5
7
 
6
8
  from neoload_cli_lib import cli_exception, resources
7
9
 
@@ -10,17 +12,33 @@ SIGNATURE_BLOCK_SUFFIXES = (".RSA", ".DSA", ".EC")
10
12
  EXPECTED_ORGANIZATION = "Tricentis GmbH"
11
13
  CERTIFICATE_NAMESPACE = "resources.certs"
12
14
  TRUSTED_ROOT_KEYSTORE = "globalsign-code-signing-root-r45.jks"
15
+ KEPT_ENTRY_LINES = 3
13
16
 
14
17
  class JarSignatureError(cli_exception.CliException):
15
18
  pass
16
19
 
17
20
 
21
+ class JarVerificationUnavailableError(JarSignatureError):
22
+ """No verdict could be reached on the JAR, the check itself could not run."""
23
+ pass
24
+
25
+
18
26
  def verify_signed_by_tricentis(jar_path, java_executable):
19
27
  """Raise JarSignatureError unless
20
28
  - jar signature is verified against trusted root
21
29
  - subject DN is Tricentis GmbH
22
30
  - that signature is the only one the jar carries
23
31
  """
32
+ jarsigner = _locate_jarsigner(java_executable)
33
+ try:
34
+ _check_signature(jar_path, jarsigner)
35
+ except JarSignatureError as err:
36
+ if isinstance(err, JarVerificationUnavailableError):
37
+ raise
38
+ raise _rejected_as_unofficial(jar_path, err)
39
+
40
+
41
+ def _check_signature(jar_path, jarsigner):
24
42
  try:
25
43
  archive = zipfile.ZipFile(jar_path)
26
44
  except (OSError, zipfile.BadZipFile) as err:
@@ -30,17 +48,34 @@ def verify_signed_by_tricentis(jar_path, java_executable):
30
48
  cms_signature = _read_cms_signature(jar)
31
49
  _check_tricentis_is_the_only_signer(jar)
32
50
 
33
- _run_jarsigner(jar_path, java_executable)
51
+ _run_jarsigner(jar_path, jarsigner)
34
52
  _check_signer_is_tricentis(cms_signature)
35
53
 
36
54
 
55
+ def _rejected_as_unofficial(jar_path, cause):
56
+ """Wrap a failed check into the message the user acts on.
57
+
58
+ The technical wording comes first and the verdict last, so that the line
59
+ the user reads right above the prompt is the one that matters, as in a
60
+ Python traceback.
61
+ """
62
+ details = "\n".join(" " + line for line in str(cause).splitlines())
63
+ return JarSignatureError(
64
+ "Signature check details:\n{0}\n\n"
65
+ "CheckVU did not run, for security reasons: '{1}' is not an official CheckVU JAR. "
66
+ "Either the file was modified after Tricentis released it, or it is not a CheckVU "
67
+ "JAR at all.\n"
68
+ "Download CheckVU again, or pass a JAR you trust with --jar."
69
+ .format(details, jar_path))
70
+
71
+
37
72
  def _read_cms_signature(jar):
38
73
  """Read the signature block jarsigner wrote at META-INF/NEOLOAD_.RSA."""
39
74
  try:
40
75
  return jar.read(CMS_SIGNATURE_ENTRY)
41
76
  except KeyError:
42
77
  raise JarSignatureError(
43
- "The CheckVU JAR is not signed: no signature block '{0}' found"
78
+ "The CheckVU JAR is not signed: no signature block '{0}' found."
44
79
  .format(CMS_SIGNATURE_ENTRY))
45
80
 
46
81
 
@@ -63,12 +98,10 @@ def _is_signature_block(entry_name):
63
98
  and filename.upper().endswith(SIGNATURE_BLOCK_SUFFIXES))
64
99
 
65
100
 
66
- def _run_jarsigner(jar_path, java_executable):
101
+ def _run_jarsigner(jar_path, jarsigner):
67
102
  """Let the JDK verify the signature against the root shipped with this package.
68
103
  Verification is strict (validates whole cert chain, no unsigned entries, no
69
104
  modifications)"""
70
- jarsigner = _locate_jarsigner(java_executable)
71
-
72
105
  with resources.get_resource_as_path(CERTIFICATE_NAMESPACE, TRUSTED_ROOT_KEYSTORE) as truststore:
73
106
  command = [jarsigner, "-verify", "-strict", "-keystore", str(truststore), jar_path]
74
107
  try:
@@ -78,13 +111,39 @@ def _run_jarsigner(jar_path, java_executable):
78
111
  universal_newlines=True,
79
112
  errors="replace")
80
113
  except OSError as err:
81
- raise JarSignatureError(
114
+ raise JarVerificationUnavailableError(
82
115
  "Unable to run '{0}' to verify the CheckVU JAR: {1}".format(jarsigner, err))
83
116
 
84
117
  if completed.returncode != 0:
118
+ output = (completed.stdout or "").strip()
119
+ logging.debug("'%s' exited with code %s on '%s':\n%s",
120
+ jarsigner, completed.returncode, jar_path, output)
85
121
  raise JarSignatureError(
86
122
  "The CheckVU JAR signature is not valid. '{0}' exited with code {1}:\n{2}"
87
- .format(jarsigner, completed.returncode, (completed.stdout or "").strip()))
123
+ .format(jarsigner, completed.returncode, _without_entry_lists(output)))
124
+
125
+
126
+ def _without_entry_lists(jarsigner_output):
127
+ """Keep what jarsigner says about the signature, drop what it repeats per entry.
128
+
129
+ When a jar carries internal inconsistencies jarsigner lists one line per entry.
130
+ The CheckVU JAR holds about 21000 of them, which buries the dozen lines that say
131
+ why the signature was refused. The untouched output goes to the debug log.
132
+ """
133
+ kept = []
134
+ for is_entry, group in groupby(jarsigner_output.splitlines(), key=_is_entry_line):
135
+ lines = list(group)
136
+ kept.extend(lines if not is_entry else lines[:KEPT_ENTRY_LINES])
137
+ hidden = len(lines) - KEPT_ENTRY_LINES
138
+ if is_entry and hidden > 0:
139
+ kept.append("... and {0} more entries, run with --debug for the full "
140
+ "jarsigner output".format(hidden))
141
+ return "\n".join(kept)
142
+
143
+
144
+ def _is_entry_line(line):
145
+ """Tell apart the per-entry lines, which jarsigner writes as a dash-prefixed list."""
146
+ return line.lstrip().startswith("-")
88
147
 
89
148
 
90
149
  def _locate_jarsigner(java_executable):
@@ -101,11 +160,11 @@ def _locate_jarsigner(java_executable):
101
160
  if on_path:
102
161
  return on_path
103
162
 
104
- raise JarSignatureError(
105
- "jarsigner is needed to verify the CheckVU JAR signature, but is neither next to "
106
- "'{0}' nor on the PATH. It ships with a JDK, not with a JRE. Point --java at a "
107
- "JDK, put one on the PATH, or run with --unsafe-skip-jar-verification to skip the check"
108
- "(only if you use a local and already verified JAR)."
163
+ raise JarVerificationUnavailableError(
164
+ "You are using a JRE ('{0}') which does not provide JAR verification tools "
165
+ "(jarsigner is neither next to it nor on the PATH). Please use a JDK for improved "
166
+ "security to check that the JAR is made by Tricentis. Or add option "
167
+ "--unsafe-skip-jar-verification."
109
168
  .format(java_executable))
110
169
 
111
170
  def _check_signer_is_tricentis(cms_signature):
@@ -8,7 +8,7 @@ import yaml
8
8
  from yaml.scanner import ScannerError
9
9
 
10
10
  from neoload_cli_lib import cli_exception, bad_as_code_exception
11
- from neoload_cli_lib.user_data import update_schema, get_yaml_schema, get_yaml_schema_etag, tools
11
+ from neoload_cli_lib.user_data import update_schema, get_yaml_schema, get_yaml_schema_etag, tools, __yaml_schema_file
12
12
 
13
13
  import logging
14
14
  import hashlib
@@ -17,7 +17,7 @@ import gitignorefile
17
17
  from neoload_cli_lib.neoLoad_project import is_not_to_be_included
18
18
 
19
19
  YAML_NOT_CONFIRM_MESSAGE = "YAML does not confirm to NeoLoad DSL schema."
20
- __models_raw_root = "https://raw.githubusercontent.com/Neotys-Labs/neoload-models/v3"
20
+ __models_raw_root = "https://raw.githubusercontent.com/Neotys-Labs/neoload-models/refs/tags/neoload-models-3.4.22"
21
21
  __compatibility_url = __models_raw_root + "/schemas/compatibility.json"
22
22
  __default_schema_version = "3.0"
23
23
 
@@ -139,7 +139,7 @@ def schema_url_for_version(version):
139
139
 
140
140
 
141
141
  def load_supported_schema_versions(ssl_cert=''):
142
- """Supported versions are the keys of neoload-models schemas/compatibility.json (v3)."""
142
+ """Supported versions are the keys of neoload-models schemas/compatibility.json (tag 3.4.22)."""
143
143
  compatibility_json, _etag, _not_modified = get_network_schema_by_spec(__compatibility_url, ssl_cert)
144
144
  if compatibility_json is None:
145
145
  raise cli_exception.CliException(
@@ -294,7 +294,9 @@ def init_yaml_schema_with_checks(schema_spec, ssl_cert='', check_schema=True, sc
294
294
  cached_etag = get_yaml_schema_etag(schema_key=schema_key) if json_schema is not None else None
295
295
  json_schema_spec, response_etag, not_modified = get_network_schema_by_spec(schema_spec, ssl_cert, cached_etag)
296
296
  if not_modified:
297
- logging.info('Remote schema unchanged since last download (ETag match) - using cached schema.')
297
+ logging.debug(
298
+ 'Remote schema unchanged since last download (ETag match) - using cached schema at %s',
299
+ __yaml_schema_file)
298
300
  elif json_schema_spec is not None:
299
301
  logging.debug("Retrieved remote schema %s chars, etag=%s" % (len(json_schema_spec), response_etag or "none"))
300
302
  if response_etag:
@@ -0,0 +1 @@
1
+ __version__ = "1.3.19.dev4"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: neoload
3
- Version: 1.3.19.dev3
3
+ Version: 1.3.19.dev4
4
4
  Summary: A command-line native utility for launching and observing NeoLoad performance tests
5
5
  Home-page: https://github.com/Neotys-Labs/neoload-cli
6
6
  Author: Neotys
@@ -231,12 +231,22 @@ neoload checkvu -u myUser default.yaml
231
231
  ```
232
232
  - `PROJECT_FILE` is a path to an as-code yaml file. The CLI validates it against the as-code schema first (same as `neoload validate`), using `-s, --as-code-schema` to override the default schema.
233
233
  - `--play-think-time` plays think times defined on pages and delays marked as think time. Disabled by default (same as the CheckVU advanced setting).
234
- - `-e, --engine-jar, --jar <path-or-url>` skips the JAR resolution below and runs a local patched file (hotfix) or an explicit download URL. If omitted: reuse the single cached JAR if one exists (no network call); otherwise detect the OS, call `redirect.php` (`version=latest`), follow the 302 to `files.tricentis.com`, and cache the JAR under the filename from the final `Content-Disposition` (e.g. `neoload-checkvu-cli-2026.3.0-linux.jar`). Clear the cache directory to force a fresh download after a new CheckVU release.
235
- - `-j, --java` selects the java executable; by default `JAVA_HOME/bin/java` then `java` on the PATH. Java 21+ is required and verified before running. The JAR is launched with `-XX:TieredStopAtLevel=1 -Xms256m -Xmx512m -XX:+UseSerialGC` to keep startup short, and `JAVA_TOOL_OPTIONS` is emptied for that process so these options always apply and do not reach the Load Generator it spawns. Prefer a JDK over JRE so that the CLI can check the JAR's integrity, or bypass checks using `--unsafe-skip-jar-verification`
234
+ - `-e, --engine-jar, --jar <path-or-url>` runs a local JAR or an explicit download URL. If omitted: reuse the single cached JAR if one exists (no network call). If the cache directory has no JAR, the command fails, creates that directory, and prints its path. Copy the CheckVU JAR for your OS into that folder: https://github.com/Tricentis-NeoLoad/neoload-root/actions/runs/39966419452
235
+ - `-j, --java` selects the java executable; by default `JAVA_HOME/bin/java` then `java` on the PATH. Java 21 is required and verified before running (other major versions such as 25 are rejected). The JAR is launched with `-XX:TieredStopAtLevel=1 -Xms256m -Xmx512m -XX:+UseSerialGC` to keep startup short, and `JAVA_TOOL_OPTIONS` is emptied for that process so these options always apply and do not reach the Load Generator it spawns. Use a JDK rather than a JRE: the JDK provides `jarsigner`, which the CLI uses to check that the JAR is made by Tricentis. With a JRE the command stops with an error, unless you bypass the check using `--unsafe-skip-jar-verification`
236
236
  - `-o, --output <path>` sets the directory that receives `checkvu-result.json` and the `checkvu-content/` request and response dump. When omitted, nothing is written to disk and only the console output is produced. Relative paths resolve from the current directory, not from `PROJECT_FILE`. The dump is not redacted, so treat it as confidential.
237
237
  - `-w, --work-dir <path>` sets the directory used for engine files and logs. Defaults to a temporary directory deleted afterwards unless `--keep-temp-work-dir` is set; a directory you supply yourself is never deleted.
238
238
  - `--app-proxy`, `--app-proxy-username` and `--app-proxy-bypass` configure the proxy used for application traffic. The proxy password is set with `CHECKVU_CLI_APP_PROXY_PASSWORD` environment variable instead so it never shows up in the process list or CI logs.
239
- - `--controller-properties` and `--load-generator-properties` are advanced options to merge a `.properties` file into the JAR's embedded `controller.properties` / `agent.properties`.
239
+ - `--controller-properties` and `--load-generator-properties` are advanced options to merge a `.properties` file into the JAR's embedded `controller.properties` / `agent.properties`. When CheckVU starts after `neoload login`, it reuses the saved URL and token through a temporary `[Web]` overlay: SaaS keys when the saved URL is the default SaaS API, and on-premise keys for any other URL. Those login keys win over the same keys in an explicit overlay. The temporary overlay is deleted after the run. If `--work-dir` or `--keep-temp-work-dir` retains the engine work directory, its merged `conf/controller.properties` also remains and contains the token in clear text; treat that directory as confidential.
240
+
241
+ > [!IMPORTANT]
242
+ > A **Secret Vault variable** is resolved by **NeoLoad Web**. CheckVU can use one only when the CLI already has a NeoLoad Web connection. [Log in to NeoLoad Web](#login-to-neoload-web) first, then run CheckVU:
243
+ >
244
+ > ```
245
+ > neoload login [TOKEN]
246
+ > neoload checkvu default.yaml
247
+ > ```
248
+ >
249
+ > Without that connection, CheckVU cannot resolve the Secret Vault variable.
240
250
 
241
251
  ## Reporting
242
252