Debugging Jmeter in Eclipse

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Debugging Jmeter in Eclipse

Flavio da Silveira Pepino
I want to debug Jmeter in Eclipse, but I'm not sure about how doing it.
I've downloaded the source code and binary files and put them in the same
directory structure.  I make the command
ant download_ jars
ant install

I'm trying to run as application the class NewDriver.java since I guess
it's the beginning  of the program.
The console shows errors.

https://pastebin.com/bBNUxLc4
pmd
Reply | Threaded
Open this post in threaded view
|

Re: Debugging Jmeter in Eclipse

pmd
Hello,
See those 2 documentations:
https://jmeter.apache.org/building.html
https://github.com/apache/jmeter/blob/master/eclipse.md

Regards

On Wed, Jul 10, 2019 at 1:02 AM Flavio da Silveira Pepino <
[hidden email]> wrote:

> I want to debug Jmeter in Eclipse, but I'm not sure about how doing it.
> I've downloaded the source code and binary files and put them in the same
> directory structure.  I make the command
> ant download_ jars
> ant install
>
> I'm trying to run as application the class NewDriver.java since I guess
> it's the beginning  of the program.
> The console shows errors.
>
> https://pastebin.com/bBNUxLc4
>


--
Cordialement.
Philippe Mouawad.
Reply | Threaded
Open this post in threaded view
|

Re: Debugging Jmeter in Eclipse

Flavio da Silveira Pepino
Hello
When I run ant build with run_gui task , then Jmeter works perfectly.
In other hand, when I try to run as application  the New Driver  class and
I inform ${workspace_loc}/apache-jmeter/bin as an argument then The java
does not find the correct path.
The directory apache-jmeter is ignored, then the Java looks for
eclipse-workspace which is ${workspace_location} and concatenate directly
with bin.
Thanks

Em qua, 10 de jul de 2019 às 03:29, Philippe Mouawad <
[hidden email]> escreveu:

> Hello,
> See those 2 documentations:
> https://jmeter.apache.org/building.html
> https://github.com/apache/jmeter/blob/master/eclipse.md
>
> Regards
>
> On Wed, Jul 10, 2019 at 1:02 AM Flavio da Silveira Pepino <
> [hidden email]> wrote:
>
> > I want to debug Jmeter in Eclipse, but I'm not sure about how doing it.
> > I've downloaded the source code and binary files and put them in the same
> > directory structure.  I make the command
> > ant download_ jars
> > ant install
> >
> > I'm trying to run as application the class NewDriver.java since I guess
> > it's the beginning  of the program.
> > The console shows errors.
> >
> > https://pastebin.com/bBNUxLc4
> >
>
>
> --
> Cordialement.
> Philippe Mouawad.
>
Reply | Threaded
Open this post in threaded view
|

Re: Debugging Jmeter in Eclipse

Flavio da Silveira Pepino
I read the instructions again  and I made the correct change. Now, I can
run/DEbug Jmeter as Java application.
Thanks


Em ter, 16 de jul de 2019 às 21:14, Flavio da Silveira Pepino <
[hidden email]> escreveu:

> Hello
> When I run ant build with run_gui task , then Jmeter works perfectly.
> In other hand, when I try to run as application  the New Driver  class and
> I inform ${workspace_loc}/apache-jmeter/bin as an argument then The java
> does not find the correct path.
> The directory apache-jmeter is ignored, then the Java looks for
> eclipse-workspace which is ${workspace_location} and concatenate directly
> with bin.
> Thanks
>
> Em qua, 10 de jul de 2019 às 03:29, Philippe Mouawad <
> [hidden email]> escreveu:
>
>> Hello,
>> See those 2 documentations:
>> https://jmeter.apache.org/building.html
>> https://github.com/apache/jmeter/blob/master/eclipse.md
>>
>> Regards
>>
>> On Wed, Jul 10, 2019 at 1:02 AM Flavio da Silveira Pepino <
>> [hidden email]> wrote:
>>
>> > I want to debug Jmeter in Eclipse, but I'm not sure about how doing it.
>> > I've downloaded the source code and binary files and put them in the
>> same
>> > directory structure.  I make the command
>> > ant download_ jars
>> > ant install
>> >
>> > I'm trying to run as application the class NewDriver.java since I guess
>> > it's the beginning  of the program.
>> > The console shows errors.
>> >
>> > https://pastebin.com/bBNUxLc4
>> >
>>
>>
>> --
>> Cordialement.
>> Philippe Mouawad.
>>
>