Azure-Samples / Azure-Samples/azure-search-performance-testing

JMeter results directory not found error

Open
#7 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
17
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Getting below error at jmeter results convert step when I use lod test yaml pipeline script -( [azure-search-performance-testing](https://github.com/Azure-Samples/azure-search-performance-testing/tree/main)/[pipelines](https://github.com/Azure-Samples/azure-search-performance-testing/tree/main/pipelines)
/azure-pipelines.load-test.yml )

Here is the error log -

---------------------------------------------------------------------------------------------------------------------------------------------
Starting: RESULTS: Convert JMeter Results to JUnit Format
==============================================================================
Task : Command line
Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
Version : 2.231.1
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
==============================================================================
Generating script.
========================== Starting Command Output ===========================
/usr/bin/bash --noprofile --norc /home/vsts/work/_temp/bb347353-e24e-4854-b090-f7bda3b155ae.sh
Converting...
Traceback (most recent call last):
File "/home/vsts/work/1/s/terraform/../scripts/jtl_junit_converter.py", line 179, in
main()
File "/home/vsts/work/1/s/terraform/../scripts/jtl_junit_converter.py", line 173, in main
test_suites = create_test_suites(sys.argv[1])
File "/home/vsts/work/1/s/terraform/../scripts/jtl_junit_converter.py", line 164, in create_test_suites
junit_results = create_junit_results(jtl_results_filename)
File "/home/vsts/work/1/s/terraform/../scripts/jtl_junit_converter.py", line 106, in create_junit_results
with open(jtl_results_filename) as jmeter_file:
FileNotFoundError: [Errno 2] No such file or directory: '/home/vsts/work/1/s/results/results.jtl'

##[error]Bash exited with code '1'.
Finishing: RESULTS: Convert JMeter Results to JUnit Format
----------------------------------------------------------------------------------------------------------------------------------------------

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.