neoload 1.3.19.dev4__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.dev4 → neoload-1.3.19.dev5}/PKG-INFO +2 -2
  2. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/README.md +1 -1
  3. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/checkvu.py +4 -6
  4. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/validate.py +1 -1
  5. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/checkvu_runner.py +8 -51
  6. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/schema_validation.py +2 -2
  7. neoload-1.3.19.dev5/neoload/version.py +1 -0
  8. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload.egg-info/PKG-INFO +2 -2
  9. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_checkvu.py +19 -85
  10. neoload-1.3.19.dev4/neoload/version.py +0 -1
  11. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/.github/workflows/python-integration-tests.yml +0 -0
  12. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/.github/workflows/python-package.yml +0 -0
  13. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/.github/workflows/python-post-release-changelog-pr.yml +0 -0
  14. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/.github/workflows/python-release.yml +0 -0
  15. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/.gitignore +0 -0
  16. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/.travis.yml +0 -0
  17. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/CHANGELOG.md +0 -0
  18. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/LICENSE +0 -0
  19. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/MANIFEST.in +0 -0
  20. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/docker/Dockerfile +0 -0
  21. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/aws/.nlignore +0 -0
  22. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/aws/buildspec.yaml +0 -0
  23. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/azure_devops/.nlignore +0 -0
  24. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/azure_devops/Azure_DevOps_Pipeline_NeoLoad_CLI.jpg +0 -0
  25. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/azure_devops/Azure_DevOps_Pipeline_NeoLoad_SLA_jUnit.jpg +0 -0
  26. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/azure_devops/README.md +0 -0
  27. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/azure_devops/neoload-cli-docker.yml +0 -0
  28. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/azure_devops/neoload-cli-dyninfra.yml +0 -0
  29. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/bamboo-specs/.nlignore +0 -0
  30. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/bamboo-specs/Bamboo_Pipeline_NeoLoad_SLA_jUnit.jpg +0 -0
  31. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/bamboo-specs/README.md +0 -0
  32. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/bamboo-specs/bamboo-v1.yaml +0 -0
  33. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/bamboo-specs/bamboo-v2.yaml +0 -0
  34. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/github/neoload-github-actions-demo.yml +0 -0
  35. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/gitlab/.nlignore +0 -0
  36. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/gitlab/openshift.gitlab-ci.yml +0 -0
  37. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/jenkins/Jenkinsfile_dyninfra +0 -0
  38. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/examples/pipelines/jenkins/Jenkinsfile_slafails +0 -0
  39. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/__init__.py +0 -0
  40. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/__main__.py +0 -0
  41. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/__init__.py +0 -0
  42. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/config.py +0 -0
  43. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/docker.py +0 -0
  44. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/fastfail.py +0 -0
  45. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/login.py +0 -0
  46. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/logout.py +0 -0
  47. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/logs.py +0 -0
  48. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/logs_url.py +0 -0
  49. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/project.py +0 -0
  50. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/report.py +0 -0
  51. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/run.py +0 -0
  52. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/status.py +0 -0
  53. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/stop.py +0 -0
  54. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/test_results.py +0 -0
  55. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/test_settings.py +0 -0
  56. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/wait.py +0 -0
  57. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/workspaces.py +0 -0
  58. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/commands/zones.py +0 -0
  59. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/__init__.py +0 -0
  60. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/bad_as_code_exception.py +0 -0
  61. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/cli_exception.py +0 -0
  62. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/config_global.py +0 -0
  63. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/displayer.py +0 -0
  64. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/docker_lib.py +0 -0
  65. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/filtering.py +0 -0
  66. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/hooks.py +0 -0
  67. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/jar_signature.py +0 -0
  68. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/logs_tools.py +0 -0
  69. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/logs_traduction_map.py +0 -0
  70. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/name_resolver.py +0 -0
  71. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/neoLoad_project.py +0 -0
  72. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/paths.py +0 -0
  73. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/resources.py +0 -0
  74. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/rest_crud.py +0 -0
  75. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/running_tools.py +0 -0
  76. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/tools.py +0 -0
  77. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/neoload_cli_lib/user_data.py +0 -0
  78. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/__init__.py +0 -0
  79. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/certs/__init__.py +0 -0
  80. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/certs/globalsign-code-signing-root-r45.jks +0 -0
  81. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/__init__.py +0 -0
  82. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/builtin_console_summary.j2 +0 -0
  83. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/builtin_transactions_csv.j2 +0 -0
  84. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/common.js +0 -0
  85. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/external_data.html.j2 +0 -0
  86. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/general_details.html.j2 +0 -0
  87. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/header.j2 +0 -0
  88. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/hits_per_second.html.j2 +0 -0
  89. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/running_vus.html.j2 +0 -0
  90. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/styles.css +0 -0
  91. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/transactions.html.j2 +0 -0
  92. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/common/workload_characteristics.html.j2 +0 -0
  93. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/custom_transactions_export.j2 +0 -0
  94. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/sample-custom-report.html.j2 +0 -0
  95. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/sample-trends-report.html.j2 +0 -0
  96. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/trends/general_details.html.j2 +0 -0
  97. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/trends/transaction_trends.html.j2 +0 -0
  98. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/jinja/trends/trends.js +0 -0
  99. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/templates/__init__.py +0 -0
  100. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/resources/templates/default.yaml +0 -0
  101. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload/version_manager.py +0 -0
  102. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload.egg-info/SOURCES.txt +0 -0
  103. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload.egg-info/dependency_links.txt +0 -0
  104. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload.egg-info/entry_points.txt +0 -0
  105. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload.egg-info/requires.txt +0 -0
  106. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/neoload.egg-info/top_level.txt +0 -0
  107. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/notes/PSB_20200421_TODO.txt +0 -0
  108. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/notes/acceptance.txt +0 -0
  109. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/pull_request_template.md +0 -0
  110. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/pytest.ini +0 -0
  111. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/requirements.txt +0 -0
  112. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/resources/as-code.latest.schema.json +0 -0
  113. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/setup.cfg +0 -0
  114. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/setup.py +0 -0
  115. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/sonar-project.properties +0 -0
  116. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/__init__.py +0 -0
  117. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/docker/test_docker_cleanups.py +0 -0
  118. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/docker/test_docker_connections.py +0 -0
  119. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/docker/test_docker_hooks.py +0 -0
  120. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/fastfail/test_fastfail_slas.py +0 -0
  121. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/project/test_project_create.py +0 -0
  122. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/project/test_upload.py +0 -0
  123. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/project/test_upload_with_password.py +0 -0
  124. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/report/conftest.py +0 -0
  125. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/report/test_report.py +0 -0
  126. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/report/test_report_json_output.py +0 -0
  127. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/report/test_report_templates.py +0 -0
  128. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/report/test_report_transactions.py +0 -0
  129. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/report/test_report_trends.py +0 -0
  130. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/report/test_trends_json_output.py +0 -0
  131. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/report/test_trends_templates.py +0 -0
  132. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/status/test_status_with_names.py +0 -0
  133. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_config.py +0 -0
  134. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_login.py +0 -0
  135. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_logout.py +0 -0
  136. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_logs/test_logs.py +0 -0
  137. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_logs_url.py +0 -0
  138. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_results/test_result_delete.py +0 -0
  139. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_results/test_result_ls.py +0 -0
  140. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_results/test_result_patch.py +0 -0
  141. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_results/test_result_put.py +0 -0
  142. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_run.py +0 -0
  143. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_settings/test_create.py +0 -0
  144. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_settings/test_createorpatch.py +0 -0
  145. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_settings/test_delete.py +0 -0
  146. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_settings/test_ls.py +0 -0
  147. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_settings/test_patch.py +0 -0
  148. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_settings/test_put.py +0 -0
  149. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/test_validate.py +0 -0
  150. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/wait/test_wait.py +0 -0
  151. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/workspaces/test_workspace_ls.py +0 -0
  152. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/workspaces/test_workspace_use.py +0 -0
  153. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/commands/zones/test_zones.py +0 -0
  154. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/conftest.py +0 -0
  155. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/helpers/__init__.py +0 -0
  156. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/helpers/test_utils.py +0 -0
  157. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/expected/fastfail.log +0 -0
  158. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/expected/junit-sla.xml +0 -0
  159. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/expected/run.log +0 -0
  160. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/expected/summary.txt +0 -0
  161. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/runAllScripts.sh +0 -0
  162. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/scripts/cleanup.sh +0 -0
  163. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/scripts/project.upload.test.sh +0 -0
  164. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/scripts/results.delete.test.sh +0 -0
  165. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/scripts/results.patch.test.sh +0 -0
  166. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/scripts/results.put.test.sh +0 -0
  167. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/scripts/run.fastfail.test.sh +0 -0
  168. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/scripts/run.oneliner.test.sh +0 -0
  169. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/scripts/run.test.sh +0 -0
  170. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/scripts/settings.create.delete.test.sh +0 -0
  171. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/scripts/settings.patch.test.sh +0 -0
  172. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/scripts/settings.put.test.sh +0 -0
  173. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/scripts/validate.test.sh +0 -0
  174. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/scripts/wait.test.sh +0 -0
  175. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/integration/scripts/zones.ls.test.sh +0 -0
  176. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_SchemaValidation.py +0 -0
  177. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_displayer.py +0 -0
  178. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_docker.py +0 -0
  179. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_etag_caching.py +0 -0
  180. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_filtering.py +0 -0
  181. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_include_resolution.py +0 -0
  182. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_jar_signature.py +0 -0
  183. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_rest_crud.py +0 -0
  184. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_running_tools.py +0 -0
  185. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_tools.py +0 -0
  186. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_user_data.py +0 -0
  187. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_cli_lib/test_validator_selection.py +0 -0
  188. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_projects/.nlignore +0 -0
  189. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_projects/broken_yaml.yaml +0 -0
  190. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_projects/circular_includes/a.yaml +0 -0
  191. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_projects/circular_includes/b.yaml +0 -0
  192. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_projects/empty.yaml +0 -0
  193. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_projects/example_1/.gitlab-ci.yml +0 -0
  194. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_projects/example_1/.nlignore +0 -0
  195. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_projects/example_1/data/cities.csv +0 -0
  196. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_projects/example_1/default.yaml +0 -0
  197. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_projects/example_1/paths/geosearch_get.yaml +0 -0
  198. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_projects/example_1/slas/prod.yaml +0 -0
  199. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_projects/example_1/slas/uat.yaml +0 -0
  200. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_projects/example_1.zip +0 -0
  201. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_projects/example_2.zip +0 -0
  202. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_projects/invalid_to_schema.yaml +0 -0
  203. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/neoload_projects/simpledemo.yml +0 -0
  204. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/resources/__init__.py +0 -0
  205. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/resources/expected_neoload_junit_slas.xml +0 -0
  206. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/resources/expected_summary_text_no_sla.txt +0 -0
  207. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/resources/expected_summary_text_with_sla.txt +0 -0
  208. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/resources/jinja/__init__.py +0 -0
  209. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/resources/report/expected_custom_report.html +0 -0
  210. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/resources/report/expected_custom_report_filtered.html +0 -0
  211. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/resources/report/expected_custom_transactions.csv +0 -0
  212. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/resources/report/expected_report.json +0 -0
  213. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/resources/report/expected_report_filtered.json +0 -0
  214. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/resources/report/expected_template_transactions.json +0 -0
  215. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/resources/report/expected_template_transactions_csv.csv +0 -0
  216. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/resources/report/expected_template_trends.html +0 -0
  217. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/resources/report/expected_trends.json +0 -0
  218. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/resources/report/raw_expected_custom_report.html +0 -0
  219. {neoload-1.3.19.dev4 → neoload-1.3.19.dev5}/tests/resources/report/raw_expected_report.json +0 -0
  220. {neoload-1.3.19.dev4 → 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.dev4
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
@@ -231,7 +231,7 @@ 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>` 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
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
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.
@@ -189,7 +189,7 @@ 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>` 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
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
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.
@@ -11,9 +11,9 @@ __yaml_extensions = (".yaml", ".yml")
11
11
 
12
12
  @click.command()
13
13
  @click.option('-e', '--engine-jar', '--jar',
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.",
14
+ help="Skip the latest-JAR download and run this CheckVU engine: a local patched file "
15
+ "(hotfix / air-gapped) or a download URL. If omitted, the latest JAR for this OS "
16
+ "is downloaded and cached.",
17
17
  metavar="PATH|URL")
18
18
  @click.option('-j', '--java', help="Path to the java executable to use. "
19
19
  "Defaults to JAVA_HOME/bin/java, then java on the PATH.", metavar="PATH")
@@ -25,7 +25,7 @@ __yaml_extensions = (".yaml", ".yml")
25
25
  "Disabled by default. Equivalent to setting CHECKVU_CLI_PLAY_THINK_TIME=1.")
26
26
  @click.option('-s', '--as-code-schema', default=None,
27
27
  help="NeoLoad as-code schema (URL or local path) to validate PROJECT_FILE against. "
28
- "When omitted, download schemas/v<schemaVersion>/as-code.schema.json from neoload-models tag 3.4.22. "
28
+ "When omitted, download schemas/v<schemaVersion>/as-code.schema.json from neoload-models (v3). "
29
29
  "If schemaVersion is absent, use schemas/v3.0/as-code.schema.json.",
30
30
  metavar="PATH|URL")
31
31
  @click.option('--ssl-cert', default="",
@@ -106,8 +106,6 @@ def cli(engine_jar, java, user_path, play_think_time, as_code_schema, ssl_cert,
106
106
  resolved_jar = checkvu_runner.resolve_jar(engine_jar, ssl_cert, java_executable,
107
107
  verify_signature=not unsafe_skip_jar_verification)
108
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)
111
109
 
112
110
  with checkvu_runner.prepare_controller_properties(
113
111
  controller_properties) as resolved_controller_properties:
@@ -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 tag 3.4.22. "
7
+ "When omitted, download schemas/v<schemaVersion>/as-code.schema.json from neoload-models (v3). "
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,
@@ -33,11 +33,8 @@ SUPPORTED_OS = (OS_LINUX, OS_LINUX_ARM64, OS_MAC, OS_MAC_ARM64, OS_WIN32_X64)
33
33
 
34
34
  CACHE_DIR_NAME = "checkvu"
35
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"
38
36
 
39
37
  __java_version_pattern = re.compile(r'version "(\d+)(?:\.(\d+))?')
40
- __nlg_build_pattern = re.compile(r"build=\d+-(\d+)")
41
38
  __content_disposition_filename = re.compile(
42
39
  r"filename\*?=(?:UTF-8\'\')?\"?([^\";]+)\"?", re.IGNORECASE)
43
40
  __shipped_jar_version_pattern = re.compile(
@@ -205,43 +202,6 @@ def check_java_version(java):
205
202
  return major
206
203
 
207
204
 
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
-
245
205
  def is_url(spec):
246
206
  return spec is not None and "://" in spec
247
207
 
@@ -253,7 +213,7 @@ def resolve_jar(engine_jar=None, ssl_cert="", java_executable=None, verify_signa
253
213
  1. --jar / --engine-jar local file: skip download, run that JAR (hotfix).
254
214
  2. --jar / --engine-jar URL: download that URL into the cache (1 JAR).
255
215
  3. a cached JAR, if one exists: reused as-is, no network call.
256
- 4. otherwise: create the cache directory and fail, asking for the CheckVU JAR.
216
+ 4. redirect.php latest for this OS, only when no JAR is cached yet.
257
217
  """
258
218
  jar = _locate_jar(engine_jar, ssl_cert)
259
219
  if verify_signature:
@@ -276,16 +236,12 @@ def _locate_jar(engine_jar, ssl_cert):
276
236
  if cached:
277
237
  return cached
278
238
 
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))
239
+ try:
240
+ return download_jar(build_redirect_url(), ssl_cert)
241
+ except cli_exception.CliException as err:
242
+ raise cli_exception.CliException(
243
+ "{0}\nNo cached JAR to fall back on. Provide one with --jar <path|url> "
244
+ "for an air-gapped or hotfix run.".format(err))
289
245
 
290
246
 
291
247
  def _keep_only_jar(cache_dir, keep_path):
@@ -365,6 +321,7 @@ def build_nlw_controller_properties(login_data):
365
321
  url = login_data.get_url()
366
322
  token = login_data.get_token()
367
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.
368
325
  return {
369
326
  "neoload.web.deployment.type": "SAAS",
370
327
  "neoload.web.saas.secretToken": token,
@@ -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/refs/tags/neoload-models-3.4.22"
20
+ __models_raw_root = "https://raw.githubusercontent.com/Neotys-Labs/neoload-models/v3"
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 (tag 3.4.22)."""
142
+ """Supported versions are the keys of neoload-models schemas/compatibility.json (v3)."""
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(
@@ -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.dev4
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
@@ -231,7 +231,7 @@ 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>` 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
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
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.
@@ -1,6 +1,5 @@
1
1
  import logging
2
2
  import os
3
- import subprocess
4
3
  from unittest import mock
5
4
 
6
5
  import pytest
@@ -324,33 +323,6 @@ class TestCheckvuRunner:
324
323
  )
325
324
  assert checkvu_runner.filename_from_response(response) == checkvu_runner.FALLBACK_JAR_NAME
326
325
 
327
- def test_parse_nlg_build(self):
328
- assert checkvu_runner.parse_nlg_build(
329
- "NeoLoad CheckVU CLI 2026.3.0;build=20260921-3747\nmore\n") == "3747"
330
- assert checkvu_runner.parse_nlg_build("") is None
331
- assert checkvu_runner.parse_nlg_build("not a version line") is None
332
-
333
- def test_check_jar_build_accepts_expected_build(self):
334
- completed = mock.Mock(stdout="NeoLoad CheckVU CLI 2026.3.0;build=20260921-3747\n")
335
- with mock.patch("subprocess.run", return_value=completed) as run_mock, \
336
- mock.patch("builtins.print") as printed:
337
- assert checkvu_runner.check_jar_build("java", "checkvu.jar") == "3747"
338
- run_mock.assert_called_once_with(
339
- ["java", "-jar", "checkvu.jar", "--version"],
340
- stdout=subprocess.PIPE,
341
- stderr=subprocess.STDOUT,
342
- universal_newlines=True)
343
- printed.assert_not_called()
344
-
345
- def test_check_jar_build_rejects_a_different_build(self):
346
- completed = mock.Mock(stdout="NeoLoad CheckVU CLI 2026.3.0;build=20260921-1000\n")
347
- with mock.patch("subprocess.run", return_value=completed):
348
- with pytest.raises(checkvu_runner.cli_exception.CliException) as err:
349
- checkvu_runner.check_jar_build("java", "checkvu.jar")
350
- assert str(err.value) == (
351
- "the JAR build version is not the correct one. Actual: "
352
- "NeoLoad CheckVU CLI 2026.3.0;build=20260921-1000 expected build: 3747")
353
-
354
326
  def test_resolve_jar_uses_explicit_local_path(self, tmp_path, signature_checked):
355
327
  jar = tmp_path / "checkvu.jar"
356
328
  jar.write_text("x")
@@ -370,18 +342,14 @@ class TestCheckvuRunner:
370
342
  assert result == "downloaded.jar"
371
343
  dl.assert_called_once_with("https://example.com/checkvu.jar", "")
372
344
 
373
- def test_resolve_jar_requires_a_cached_jar(self, tmp_path):
374
- cache_dir = tmp_path / "checkvu"
375
- with mock.patch.object(checkvu_runner, "get_cached_jar_path", return_value=None), \
376
- mock.patch.object(checkvu_runner, "get_cache_dir", return_value=str(cache_dir)), \
377
- mock.patch.object(checkvu_runner, "download_jar") as dl:
378
- with pytest.raises(checkvu_runner.cli_exception.CliException) as err:
379
- checkvu_runner.resolve_jar()
380
- dl.assert_not_called()
381
- assert cache_dir.is_dir()
382
- message = str(err.value)
383
- assert str(cache_dir) in message
384
- assert checkvu_runner.CHECKVU_JAR_DOWNLOAD_URL in message
345
+ def test_resolve_jar_uses_redirect_for_latest_when_nothing_cached(self, tmp_path, signature_checked):
346
+ redirect = checkvu_runner.build_redirect_url("linux")
347
+ with mock.patch.object(checkvu_runner, "detect_os", return_value="linux"), \
348
+ mock.patch.object(checkvu_runner, "get_cached_jar_path", return_value=None), \
349
+ mock.patch.object(checkvu_runner, "download_jar", return_value="downloaded.jar") as dl:
350
+ result = checkvu_runner.resolve_jar()
351
+ assert result == "downloaded.jar"
352
+ dl.assert_called_once_with(redirect, "")
385
353
 
386
354
  def test_resolve_jar_reuses_cache_without_a_network_call(self, tmp_path, signature_checked):
387
355
  cached = tmp_path / LINUX_JAR_NAME
@@ -392,14 +360,14 @@ class TestCheckvuRunner:
392
360
  assert result == str(cached)
393
361
  dl.assert_not_called()
394
362
 
395
- def test_resolve_jar_missing_cache_mentions_the_folder(self, tmp_path):
396
- cache_dir = tmp_path / "checkvu"
363
+ def test_resolve_jar_download_failure_mentions_the_jar_option(self, tmp_path):
397
364
  with mock.patch.object(checkvu_runner, "get_cached_jar_path", return_value=None), \
398
- mock.patch.object(checkvu_runner, "get_cache_dir", return_value=str(cache_dir)):
365
+ mock.patch.object(checkvu_runner, "download_jar",
366
+ side_effect=checkvu_runner.cli_exception.CliException(
367
+ "Failed to download the CheckVU JAR from 'https://...': 403")):
399
368
  with pytest.raises(checkvu_runner.cli_exception.CliException) as err:
400
369
  checkvu_runner.resolve_jar()
401
- assert str(cache_dir) in str(err.value)
402
- assert "CheckVU JAR" in str(err.value)
370
+ assert "--jar" in str(err.value)
403
371
 
404
372
  def test_cache_keeps_only_latest_jar(self, tmp_path):
405
373
  old = tmp_path / OLD_LINUX_JAR_NAME
@@ -468,11 +436,6 @@ class TestCheckvuRunner:
468
436
 
469
437
  @pytest.mark.validation
470
438
  class TestCheckvuCommand:
471
- @pytest.fixture(autouse=True)
472
- def jar_build_is_expected(self):
473
- with mock.patch.object(checkvu_runner, "check_jar_build", return_value="3747") as checked:
474
- yield checked
475
-
476
439
  @pytest.fixture(autouse=True)
477
440
  def no_saved_login(self):
478
441
  with mock.patch.object(checkvu_runner.user_data, "get_user_data",
@@ -484,49 +447,20 @@ class TestCheckvuCommand:
484
447
  p.write_text("name: test")
485
448
  return str(p)
486
449
 
487
- def test_cached_jar_with_wrong_build_fails_before_run(self, tmp_path, jar_build_is_expected):
488
- runner = CliRunner()
489
- project = self._yaml_file(tmp_path)
490
- jar_build_is_expected.side_effect = checkvu_runner.cli_exception.CliException(
491
- "the JAR build version is not the correct one. Actual: "
492
- "NeoLoad CheckVU CLI 2026.3.0;build=20260921-1000 expected build: 3747")
493
- with mock.patch.object(schema_validation, 'validate_path', return_value='Yaml file is valid.'), \
494
- mock.patch.object(checkvu_runner, 'resolve_java', return_value="java"), \
495
- mock.patch.object(checkvu_runner, 'check_java_version', return_value=21), \
496
- mock.patch.object(checkvu_runner, 'resolve_jar', return_value="checkvu.jar"), \
497
- mock.patch('subprocess.run') as run_mock:
498
- result = runner.invoke(checkvu, [project])
499
- assert result.exit_code == 1
500
- assert "Actual: NeoLoad CheckVU CLI 2026.3.0;build=20260921-1000" in result.output
501
- run_mock.assert_not_called()
502
- jar_build_is_expected.assert_called_once_with("java", "checkvu.jar")
503
-
504
- def test_explicit_jar_skips_build_check(self, tmp_path, signature_checked, jar_build_is_expected):
505
- runner = CliRunner()
506
- project = self._yaml_file(tmp_path)
507
- jar = tmp_path / "patched.jar"
508
- jar.write_text("x")
509
- with mock.patch.object(schema_validation, 'validate_path', return_value='Yaml file is valid.'), \
510
- mock.patch.object(checkvu_runner, 'resolve_java', return_value="java"), \
511
- mock.patch.object(checkvu_runner, 'check_java_version', return_value=21), \
512
- mock.patch('subprocess.run', return_value=mock.Mock(returncode=0)):
513
- result = runner.invoke(checkvu, [project, "--jar", str(jar)])
514
- assert result.exit_code == 0
515
- jar_build_is_expected.assert_not_called()
516
-
517
- def test_missing_cached_jar_is_reported(self, tmp_path):
450
+ def test_download_failure_is_reported(self, tmp_path):
518
451
  runner = CliRunner()
519
452
  project = self._yaml_file(tmp_path)
520
- cache_dir = tmp_path / "checkvu"
521
453
  with mock.patch.object(schema_validation, 'validate_path', return_value='Yaml file is valid.'), \
522
454
  mock.patch.object(checkvu_runner, 'resolve_java', return_value="java"), \
523
455
  mock.patch.object(checkvu_runner, 'check_java_version', return_value=21), \
524
456
  mock.patch.object(checkvu_runner, 'get_cached_jar_path', return_value=None), \
525
- mock.patch.object(checkvu_runner, 'get_cache_dir', return_value=str(cache_dir)):
457
+ mock.patch.object(checkvu_runner, 'download_jar',
458
+ side_effect=checkvu_runner.cli_exception.CliException(
459
+ "Failed to download the CheckVU JAR")):
526
460
  result = runner.invoke(checkvu, [project])
527
461
  assert result.exit_code == 1
528
- assert str(cache_dir) in result.output
529
- assert checkvu_runner.CHECKVU_JAR_DOWNLOAD_URL in result.output
462
+ assert "Failed to download the CheckVU JAR" in result.output
463
+ assert "--jar" in result.output
530
464
 
531
465
  def test_old_java_fails_before_run(self, tmp_path):
532
466
  runner = CliRunner()
@@ -1 +0,0 @@
1
- __version__ = "1.3.19.dev4"
File without changes
File without changes
File without changes
File without changes