Am 26.11.21 um 09:51 schrieb Vladimir Sitnikov:
> Anas,
>
> Here's the failure message:
>
>> Failures detected while testing
> /mnt/Linux2T/work/anasoid/repo/jmeter/bin/testfiles/FTP_TESTS.jmx
>
> Could you please try opening the test file in JMeter and see what that
> script is doing?
> In theory, you should be able to reproduce the failure when running the
> same script from GUI.
>
> We have not touched the script for 3+years, so I think nobody remembers the
> details.

I certainly don't remember the details (I am sure, I have never looked
at it before :)),
but I tried it locally.

It does start a local ftp server on port 2222 and tries to talk to it
with the ftp sampler.

That is, why I asked, if there was a firewall blocking ftp or something
already listens on port 2222 (a ssh server maybe).

If you want to try it without gradle, then you have to make sure, that
the libraries lib/opt/ftp* and lib/opt/mina* are in the
classpath for JMeter. (You might want to copy them to lib/ and delete
them again after your tests). Another peculiarity of the
jmx file is, that it creates a directory at a specific  place in the
file system and sometimes assumes, that you are in the bin directory
(where that directory has been created).

So to run it:

cp lib/opt/ftp* lib/opt/mina* lib/
cd bin
./jmeter -t testfiles/FTP_TESTS.jmx
cd ..
rm lib/ftp* lib/mina*

Felix

>
> Feel free to submit PRs that make test scripts and error messages easier to
> understand.
>
> Vladimir
>

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to