neoload 1.3.19.dev3__tar.gz → 1.3.19.dev5__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.dev5}/PKG-INFO +13 -3
  2. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/README.md +12 -2
  3. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/checkvu.py +21 -15
  4. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/checkvu_runner.py +74 -14
  5. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/jar_signature.py +71 -12
  6. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/schema_validation.py +4 -2
  7. neoload-1.3.19.dev5/neoload/version.py +1 -0
  8. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload.egg-info/PKG-INFO +13 -3
  9. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_checkvu.py +172 -0
  10. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_etag_caching.py +11 -0
  11. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_jar_signature.py +72 -1
  12. neoload-1.3.19.dev3/neoload/version.py +0 -1
  13. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/.github/workflows/python-integration-tests.yml +0 -0
  14. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/.github/workflows/python-package.yml +0 -0
  15. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/.github/workflows/python-post-release-changelog-pr.yml +0 -0
  16. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/.github/workflows/python-release.yml +0 -0
  17. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/.gitignore +0 -0
  18. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/.travis.yml +0 -0
  19. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/CHANGELOG.md +0 -0
  20. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/LICENSE +0 -0
  21. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/MANIFEST.in +0 -0
  22. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/docker/Dockerfile +0 -0
  23. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/aws/.nlignore +0 -0
  24. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/aws/buildspec.yaml +0 -0
  25. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/azure_devops/.nlignore +0 -0
  26. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/azure_devops/Azure_DevOps_Pipeline_NeoLoad_CLI.jpg +0 -0
  27. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/azure_devops/Azure_DevOps_Pipeline_NeoLoad_SLA_jUnit.jpg +0 -0
  28. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/azure_devops/README.md +0 -0
  29. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/azure_devops/neoload-cli-docker.yml +0 -0
  30. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/azure_devops/neoload-cli-dyninfra.yml +0 -0
  31. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/bamboo-specs/.nlignore +0 -0
  32. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/bamboo-specs/Bamboo_Pipeline_NeoLoad_SLA_jUnit.jpg +0 -0
  33. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/bamboo-specs/README.md +0 -0
  34. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/bamboo-specs/bamboo-v1.yaml +0 -0
  35. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/bamboo-specs/bamboo-v2.yaml +0 -0
  36. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/github/neoload-github-actions-demo.yml +0 -0
  37. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/gitlab/.nlignore +0 -0
  38. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/gitlab/openshift.gitlab-ci.yml +0 -0
  39. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/jenkins/Jenkinsfile_dyninfra +0 -0
  40. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/examples/pipelines/jenkins/Jenkinsfile_slafails +0 -0
  41. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/__init__.py +0 -0
  42. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/__main__.py +0 -0
  43. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/__init__.py +0 -0
  44. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/config.py +0 -0
  45. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/docker.py +0 -0
  46. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/fastfail.py +0 -0
  47. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/login.py +0 -0
  48. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/logout.py +0 -0
  49. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/logs.py +0 -0
  50. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/logs_url.py +0 -0
  51. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/project.py +0 -0
  52. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/report.py +0 -0
  53. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/run.py +0 -0
  54. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/status.py +0 -0
  55. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/stop.py +0 -0
  56. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/test_results.py +0 -0
  57. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/test_settings.py +0 -0
  58. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/validate.py +0 -0
  59. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/wait.py +0 -0
  60. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/workspaces.py +0 -0
  61. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/commands/zones.py +0 -0
  62. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/__init__.py +0 -0
  63. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/bad_as_code_exception.py +0 -0
  64. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/cli_exception.py +0 -0
  65. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/config_global.py +0 -0
  66. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/displayer.py +0 -0
  67. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/docker_lib.py +0 -0
  68. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/filtering.py +0 -0
  69. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/hooks.py +0 -0
  70. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/logs_tools.py +0 -0
  71. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/logs_traduction_map.py +0 -0
  72. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/name_resolver.py +0 -0
  73. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/neoLoad_project.py +0 -0
  74. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/paths.py +0 -0
  75. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/resources.py +0 -0
  76. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/rest_crud.py +0 -0
  77. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/running_tools.py +0 -0
  78. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/tools.py +0 -0
  79. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/user_data.py +0 -0
  80. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/__init__.py +0 -0
  81. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/certs/__init__.py +0 -0
  82. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/certs/globalsign-code-signing-root-r45.jks +0 -0
  83. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/__init__.py +0 -0
  84. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/builtin_console_summary.j2 +0 -0
  85. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/builtin_transactions_csv.j2 +0 -0
  86. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/common.js +0 -0
  87. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/external_data.html.j2 +0 -0
  88. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/general_details.html.j2 +0 -0
  89. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/header.j2 +0 -0
  90. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/hits_per_second.html.j2 +0 -0
  91. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/running_vus.html.j2 +0 -0
  92. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/styles.css +0 -0
  93. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/transactions.html.j2 +0 -0
  94. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/workload_characteristics.html.j2 +0 -0
  95. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/custom_transactions_export.j2 +0 -0
  96. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/sample-custom-report.html.j2 +0 -0
  97. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/sample-trends-report.html.j2 +0 -0
  98. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/trends/general_details.html.j2 +0 -0
  99. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/trends/transaction_trends.html.j2 +0 -0
  100. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/jinja/trends/trends.js +0 -0
  101. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/templates/__init__.py +0 -0
  102. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/resources/templates/default.yaml +0 -0
  103. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload/version_manager.py +0 -0
  104. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload.egg-info/SOURCES.txt +0 -0
  105. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload.egg-info/dependency_links.txt +0 -0
  106. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload.egg-info/entry_points.txt +0 -0
  107. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload.egg-info/requires.txt +0 -0
  108. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/neoload.egg-info/top_level.txt +0 -0
  109. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/notes/PSB_20200421_TODO.txt +0 -0
  110. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/notes/acceptance.txt +0 -0
  111. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/pull_request_template.md +0 -0
  112. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/pytest.ini +0 -0
  113. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/requirements.txt +0 -0
  114. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/resources/as-code.latest.schema.json +0 -0
  115. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/setup.cfg +0 -0
  116. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/setup.py +0 -0
  117. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/sonar-project.properties +0 -0
  118. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/__init__.py +0 -0
  119. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/docker/test_docker_cleanups.py +0 -0
  120. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/docker/test_docker_connections.py +0 -0
  121. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/docker/test_docker_hooks.py +0 -0
  122. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/fastfail/test_fastfail_slas.py +0 -0
  123. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/project/test_project_create.py +0 -0
  124. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/project/test_upload.py +0 -0
  125. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/project/test_upload_with_password.py +0 -0
  126. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/report/conftest.py +0 -0
  127. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/report/test_report.py +0 -0
  128. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/report/test_report_json_output.py +0 -0
  129. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/report/test_report_templates.py +0 -0
  130. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/report/test_report_transactions.py +0 -0
  131. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/report/test_report_trends.py +0 -0
  132. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/report/test_trends_json_output.py +0 -0
  133. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/report/test_trends_templates.py +0 -0
  134. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/status/test_status_with_names.py +0 -0
  135. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_config.py +0 -0
  136. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_login.py +0 -0
  137. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_logout.py +0 -0
  138. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_logs/test_logs.py +0 -0
  139. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_logs_url.py +0 -0
  140. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_results/test_result_delete.py +0 -0
  141. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_results/test_result_ls.py +0 -0
  142. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_results/test_result_patch.py +0 -0
  143. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_results/test_result_put.py +0 -0
  144. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_run.py +0 -0
  145. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_settings/test_create.py +0 -0
  146. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_settings/test_createorpatch.py +0 -0
  147. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_settings/test_delete.py +0 -0
  148. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_settings/test_ls.py +0 -0
  149. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_settings/test_patch.py +0 -0
  150. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_settings/test_put.py +0 -0
  151. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/test_validate.py +0 -0
  152. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/wait/test_wait.py +0 -0
  153. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/workspaces/test_workspace_ls.py +0 -0
  154. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/workspaces/test_workspace_use.py +0 -0
  155. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/commands/zones/test_zones.py +0 -0
  156. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/conftest.py +0 -0
  157. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/helpers/__init__.py +0 -0
  158. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/helpers/test_utils.py +0 -0
  159. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/expected/fastfail.log +0 -0
  160. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/expected/junit-sla.xml +0 -0
  161. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/expected/run.log +0 -0
  162. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/expected/summary.txt +0 -0
  163. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/runAllScripts.sh +0 -0
  164. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/scripts/cleanup.sh +0 -0
  165. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/scripts/project.upload.test.sh +0 -0
  166. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/scripts/results.delete.test.sh +0 -0
  167. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/scripts/results.patch.test.sh +0 -0
  168. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/scripts/results.put.test.sh +0 -0
  169. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/scripts/run.fastfail.test.sh +0 -0
  170. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/scripts/run.oneliner.test.sh +0 -0
  171. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/scripts/run.test.sh +0 -0
  172. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/scripts/settings.create.delete.test.sh +0 -0
  173. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/scripts/settings.patch.test.sh +0 -0
  174. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/scripts/settings.put.test.sh +0 -0
  175. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/scripts/validate.test.sh +0 -0
  176. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/scripts/wait.test.sh +0 -0
  177. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/integration/scripts/zones.ls.test.sh +0 -0
  178. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_SchemaValidation.py +0 -0
  179. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_displayer.py +0 -0
  180. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_docker.py +0 -0
  181. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_filtering.py +0 -0
  182. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_include_resolution.py +0 -0
  183. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_rest_crud.py +0 -0
  184. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_running_tools.py +0 -0
  185. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_tools.py +0 -0
  186. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_user_data.py +0 -0
  187. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_validator_selection.py +0 -0
  188. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_projects/.nlignore +0 -0
  189. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_projects/broken_yaml.yaml +0 -0
  190. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_projects/circular_includes/a.yaml +0 -0
  191. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_projects/circular_includes/b.yaml +0 -0
  192. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_projects/empty.yaml +0 -0
  193. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_projects/example_1/.gitlab-ci.yml +0 -0
  194. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_projects/example_1/.nlignore +0 -0
  195. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_projects/example_1/data/cities.csv +0 -0
  196. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_projects/example_1/default.yaml +0 -0
  197. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_projects/example_1/paths/geosearch_get.yaml +0 -0
  198. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_projects/example_1/slas/prod.yaml +0 -0
  199. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_projects/example_1/slas/uat.yaml +0 -0
  200. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_projects/example_1.zip +0 -0
  201. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_projects/example_2.zip +0 -0
  202. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_projects/invalid_to_schema.yaml +0 -0
  203. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/neoload_projects/simpledemo.yml +0 -0
  204. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/resources/__init__.py +0 -0
  205. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/resources/expected_neoload_junit_slas.xml +0 -0
  206. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/resources/expected_summary_text_no_sla.txt +0 -0
  207. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/resources/expected_summary_text_with_sla.txt +0 -0
  208. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/resources/jinja/__init__.py +0 -0
  209. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/resources/report/expected_custom_report.html +0 -0
  210. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/resources/report/expected_custom_report_filtered.html +0 -0
  211. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/resources/report/expected_custom_transactions.csv +0 -0
  212. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/resources/report/expected_report.json +0 -0
  213. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/resources/report/expected_report_filtered.json +0 -0
  214. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/resources/report/expected_template_transactions.json +0 -0
  215. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/resources/report/expected_template_transactions_csv.csv +0 -0
  216. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/resources/report/expected_template_trends.html +0 -0
  217. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/resources/report/expected_trends.json +0 -0
  218. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/resources/report/raw_expected_custom_report.html +0 -0
  219. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/tests/resources/report/raw_expected_report.json +0 -0
  220. {neoload-1.3.19.dev3 → neoload-1.3.19.dev5}/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.dev5
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
@@ -232,11 +232,21 @@ neoload checkvu -u myUser default.yaml
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
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`
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
 
@@ -190,11 +190,21 @@ neoload checkvu -u myUser default.yaml
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
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`
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
 
@@ -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,22 @@ 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))
105
109
 
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)
110
+ with checkvu_runner.prepare_controller_properties(
111
+ controller_properties) as resolved_controller_properties:
112
+ command = checkvu_runner.build_command(
113
+ java_executable, resolved_jar, project_file,
114
+ user_path=user_path,
115
+ play_think_time=play_think_time,
116
+ controller_properties=resolved_controller_properties,
117
+ load_generator_properties=load_generator_properties,
118
+ app_proxy=app_proxy,
119
+ app_proxy_username=app_proxy_username,
120
+ app_proxy_bypass=app_proxy_bypass,
121
+ output=output,
122
+ work_dir=work_dir,
123
+ keep_temp_work_dir=keep_temp_work_dir,
124
+ )
125
+ exit_code = checkvu_runner.run_checkvu(command)
120
126
  sys.exit(exit_code)
@@ -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.
@@ -145,7 +148,7 @@ def resolve_java(java_option=None):
145
148
  return java_option
146
149
  java_home = os.environ.get("JAVA_HOME")
147
150
  if java_home:
148
- candidate = os.path.join(java_home, "bin", "java")
151
+ candidate = os.path.join(java_home, "bin", "java.exe" if os.name == "nt" else "java")
149
152
  resolved = shutil.which(candidate) or (candidate if os.path.isfile(candidate) else None)
150
153
  if resolved:
151
154
  return resolved
@@ -153,9 +156,9 @@ def resolve_java(java_option=None):
153
156
  if found:
154
157
  return found
155
158
  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))
159
+ "No Java runtime found. CheckVU requires Java {0}.\n"
160
+ "Install a JDK {0} and either add it to your PATH, set JAVA_HOME, "
161
+ "or pass --java <path-to-java>.".format(REQUIRED_JAVA_VERSION))
159
162
 
160
163
 
161
164
  def parse_java_major_version(version_output):
@@ -171,7 +174,7 @@ def parse_java_major_version(version_output):
171
174
 
172
175
 
173
176
  def check_java_version(java):
174
- """Runs `java -version` and enforces the minimum supported major version.
177
+ """Runs `java -version` and enforces the required major version.
175
178
  `java -version` writes to stderr, so we merge stderr into stdout to capture it.
176
179
  """
177
180
  try:
@@ -183,19 +186,19 @@ def check_java_version(java):
183
186
  except OSError as err:
184
187
  raise cli_exception.CliException(
185
188
  "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))
189
+ "Install a JDK {2} and either add it to your PATH, set JAVA_HOME, "
190
+ "or pass --java <path-to-java>.".format(java, str(err), REQUIRED_JAVA_VERSION))
188
191
 
189
192
  output = completed.stdout or ""
190
193
  major = parse_java_major_version(output)
191
194
  if major is None:
192
195
  raise cli_exception.CliException(
193
196
  "Could not determine the Java version from '{0} -version':\n{1}".format(java, output.strip()))
194
- if major < MIN_JAVA_VERSION:
197
+ if major != REQUIRED_JAVA_VERSION:
195
198
  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))
199
+ "CheckVU requires Java {0}, but '{1}' reports major version {2}.\n"
200
+ "Install a JDK {0} and either add it to your PATH, set JAVA_HOME, "
201
+ "or pass --java <path-to-java>.".format(REQUIRED_JAVA_VERSION, java, major))
199
202
  return major
200
203
 
201
204
 
@@ -271,6 +274,7 @@ def download_jar(url, ssl_cert=""):
271
274
  cache_dir = get_cache_dir()
272
275
  os.makedirs(cache_dir, exist_ok=True)
273
276
  partial_destination = None
277
+ print("Downloading CheckVU JAR from " + url + "\n", flush=True)
274
278
  try:
275
279
  with requests.get(url, stream=True, verify=verify, allow_redirects=True) as response:
276
280
  response.raise_for_status()
@@ -280,7 +284,6 @@ def download_jar(url, ssl_cert=""):
280
284
  _keep_only_jar(cache_dir, destination)
281
285
  return destination
282
286
 
283
- print("Downloading CheckVU JAR from " + url + "\n")
284
287
  total_bytes = int(response.headers.get("content-length", 0))
285
288
  progress_bar = None
286
289
  if tools.is_user_interactive():
@@ -312,6 +315,63 @@ def download_jar(url, ssl_cert=""):
312
315
  if partial_destination and os.path.isfile(partial_destination):
313
316
  os.remove(partial_destination)
314
317
 
318
+
319
+ def build_nlw_controller_properties(login_data):
320
+ """Build the controller properties used by CheckVU to reach NeoLoad Web."""
321
+ url = login_data.get_url()
322
+ token = login_data.get_token()
323
+ if url.rstrip("/") == SAAS_API_URL.rstrip("/"):
324
+ # CheckVU treats only the US SaaS url as SaaS. The EU SaaS is still treated as on-premise by NeoLoad GUI.
325
+ return {
326
+ "neoload.web.deployment.type": "SAAS",
327
+ "neoload.web.saas.secretToken": token,
328
+ }
329
+ return {
330
+ "neoload.web.deployment.type": "ONPREMISE",
331
+ "neoload.web.onpremise.url": url,
332
+ "neoload.web.onpremise.secretToken": token,
333
+ }
334
+
335
+
336
+ def _escape_property_value(value):
337
+ return str(value).replace("\\", "\\\\").replace("\r", "\\r").replace("\n", "\\n")
338
+
339
+
340
+ @contextmanager
341
+ def prepare_controller_properties(controller_properties=None):
342
+ """Merge saved NeoLoad Web login details into a temporary controller overlay.
343
+
344
+ An explicit user overlay is copied first, then the current login values are
345
+ appended so they take precedence. Without saved login data, the original
346
+ overlay path is returned unchanged.
347
+ """
348
+ login_data = user_data.get_user_data(throw=False)
349
+ if login_data is None:
350
+ yield controller_properties
351
+ return
352
+
353
+ with tempfile.TemporaryDirectory(prefix="neoload-checkvu-") as temp_dir:
354
+ generated_path = os.path.join(temp_dir, "controller.properties")
355
+ if controller_properties:
356
+ if not os.path.isfile(controller_properties):
357
+ raise cli_exception.CliException(
358
+ "Controller properties file not found: " + controller_properties)
359
+ shutil.copyfile(controller_properties, generated_path)
360
+
361
+ has_existing_content = (
362
+ os.path.isfile(generated_path) and os.path.getsize(generated_path) > 0
363
+ )
364
+ properties = build_nlw_controller_properties(login_data)
365
+ with open(generated_path, "a", encoding="utf-8") as stream:
366
+ if has_existing_content:
367
+ stream.write("\n")
368
+ stream.write("[Web]\n")
369
+ for key, value in properties.items():
370
+ stream.write("{0}={1}\n".format(key, _escape_property_value(value)))
371
+
372
+ yield generated_path
373
+
374
+
315
375
  # LOAD-39125: CheckVU CLI JVM flags. Passed on the java command line only — not JAVA_TOOL_OPTIONS
316
376
  # (the Load Generator child process would inherit them).
317
377
  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
@@ -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.dev5"
@@ -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.dev5
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
@@ -232,11 +232,21 @@ neoload checkvu -u myUser default.yaml
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
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`
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