You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Tharindu Dananjaya <th...@gmail.com> on 2017/09/25 03:59:19 UTC

Bug 60966 - getClass().getResource() does not work as a File if the classpath contains spaces

Hello,
In here as the description when class path contains
spaces.getClass().getResource() doesn't work.it contains only in
ApdexPerTransactionTest.java.
it is a class that contain test cases.when i checked this with spaces,
testing failed
when i searched for ApdexPerTransaction it shows as a hashmap.so where
should i check for get more idea.If someone has explanation of this bug
please help me.

Re: Bug 60966 - getClass().getResource() does not work as a File if the classpath contains spaces

Posted by Philippe Mouawad <ph...@gmail.com>.
Hello,
Sebb fixed the failing test, but kept the issue open with:

"Note: there may be other instances of tests which use getResource()"

After checking there is indeed no reason to keep it open.

Regards


On Mon, Sep 25, 2017 at 10:01 AM, Emilian Bold <em...@gmail.com>
wrote:

> Looks to me like this bug should be closed already. The test has been
> fixed since April
> https://github.com/apache/jmeter/commit/bdd6b7034f5d3e15e62064d324872b
> c746684ac8#diff-7cae783ef064e0d9b1bf09d5924ed877
>
> --emi
>
>
> On Mon, Sep 25, 2017 at 6:59 AM, Tharindu Dananjaya
> <th...@gmail.com> wrote:
> > Hello,
> > In here as the description when class path contains
> > spaces.getClass().getResource() doesn't work.it contains only in
> > ApdexPerTransactionTest.java.
> > it is a class that contain test cases.when i checked this with spaces,
> > testing failed
> > when i searched for ApdexPerTransaction it shows as a hashmap.so where
> > should i check for get more idea.If someone has explanation of this bug
> > please help me.
>



-- 
Cordialement.
Philippe Mouawad.

Re: Bug 60966 - getClass().getResource() does not work as a File if the classpath contains spaces

Posted by Emilian Bold <em...@gmail.com>.
Looks to me like this bug should be closed already. The test has been
fixed since April
https://github.com/apache/jmeter/commit/bdd6b7034f5d3e15e62064d324872bc746684ac8#diff-7cae783ef064e0d9b1bf09d5924ed877

--emi


On Mon, Sep 25, 2017 at 6:59 AM, Tharindu Dananjaya
<th...@gmail.com> wrote:
> Hello,
> In here as the description when class path contains
> spaces.getClass().getResource() doesn't work.it contains only in
> ApdexPerTransactionTest.java.
> it is a class that contain test cases.when i checked this with spaces,
> testing failed
> when i searched for ApdexPerTransaction it shows as a hashmap.so where
> should i check for get more idea.If someone has explanation of this bug
> please help me.