Is D:/ maybe only available on the Jenkins master and not on the remote slave? 
Are you sure it's twice "apache-jmeter-5.5-SNAPSHOT/apache-jmeter-5.5-SNAPSHOT"?
Are you running on Windows? What JMX file are you loading? Did you use the GUI 
to test the JMX file you're going to execute through a Jenkins job?
In 5.5 snapshot there's a jmeter.bat for running on windows and you're getting 
an error from the job that the path is wrong, you need to fix that Jenkins job 
first, it most likely has nothing to do with JMeter as such.
Many questions __ 

On 08/06/2021, 12:21, "Deepak Chaudhari" <[email protected]> wrote:

    I tried with bat file and getting below error:
    failed to run command
    
"D:/Downloads/apache-jmeter-5.5-SNAPSHOT/apache-jmeter-5.5-SNAPSHOT/bin/jmeter.bat':
    No such file or directory

    On Tue, Jun 8, 2021 at 12:27 AM Lars Van Casteren <
    [email protected]> wrote:

    > Maybe I’m wrong but when your jenkins agent/executor is running on windows
    > you maybe need to execute a .cmd or .bat instead of .sh perhaps?
    >
    > Gr,
    > L
    >
    > > On 7 Jun 2021, at 19:31, Deepak Chaudhari <[email protected]>
    > wrote:
    > >
    > > I'm not using Cygwin. Running through Jenkins UI.
    > >
    > >> On Mon, Jun 7, 2021 at 10:21 PM Lars Van Casteren <
    > >> [email protected]> wrote:
    > >>
    > >> It seems you're opening a bash script in a windows machine since path
    > >> starts with D:/.
    > >> If you're using Cygwin it would /cygdrive/ etc
    > >>
    > >> Gr,
    > >> L
    > >>
    > >>
    > >> On 07/06/2021, 18:21, "Deepak Chaudhari" <[email protected]>
    > wrote:
    > >>
    > >>    Hi,
    > >>
    > >>    I'm trying to execute a load test using Jenkins. But getting below
    > >> error:
    > >>
    > >>    sh: 0: Can't open D:/Downloads/apache-jmeter-5.5-SNAPSHOT/
    > >>    apache-jmeter-5.5-SNAPSHOT/bin/jmeter.sh
    > >>
    > >>
    > >> ---------------------------------------------------------------------
    > >> To unsubscribe, e-mail: [email protected]
    > >> For additional commands, e-mail: [email protected]
    > >>
    >

Reply via email to