Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » cannot profile eclipse JUnit Plugin
cannot profile eclipse JUnit Plugin [message #129404] Mon, 28 April 2008 12:18 Go to next message
Jingwen 'Owen' Ou is currently offline Jingwen 'Owen' OuFriend
Messages: 3
Registered: July 2009
Junior Member
Hiya,

I could not profile eclipse JUnit plugin using TPTP. It keeps
complaining "agent controller is unavailable under 10006".

Here is my setting: The default port setting in the "profiling and
logging" page is 10002. And in the "host" page, I have port 10002 and
port 10006 (both pass the test connection).

It can find the monitor in the running page. But when clicking run, it
complains "agent controller is unavailable under 10006". It seems TPTP
cannot connect the external agent controller.

I also install the standalone agent controller, and the SampleClient
seems fine, but with wired output (there should be 5 Incoming data
between the start and the stop??):

------------------------------------------------------------ --------------
Connected to the Agent Controller on "localhost" at port number 10006

The Time Collector Agent ID: 103

Established a data channel with the agent.

Sending 5 Hello messages over data channel to TimeCollector ...

Start the TimeCollector ...

Incoming data: Hello from Time Collector Agent - Count 0

Incoming data: Hello from Time Collector Agent - Count 1

Incoming data: Hello from Time Collector Agent - Count 2

Incoming data: Hello from Time Collector Agent - Count 3


Stop the TimeCollector ...

Incoming data: Hello from Time Collector Agent - Count 4

Incoming data: Hello from Time Collector Agent - Count 5

Incoming data: Hello from Time Collector Agent - Count 6

Incoming data: Hello from Time Collector Agent - Count 7

Incoming data: Hello from Time Collector Agent - Count 8

Incoming data: Hello from Time Collector Agent - Count 9

Incoming data: Hello from Time Collector Agent - Count 10

All finished
Press any key to exit...

------------------------------------------------------------ --------------

Do any of you know how to profile an eclipse plugin using TPTP?

Thank you,
Owen
Re: cannot profile eclipse JUnit Plugin [message #129419 is a reply to message #129404] Mon, 28 April 2008 14:48 Go to previous message
Jingwen 'Owen' Ou is currently offline Jingwen 'Owen' OuFriend
Messages: 3
Registered: July 2009
Junior Member
ok. I finally make TPTP profile eclipse JUnit plugins. But it only works
on the latest version 4.5M6. I need confirmation: is it that previous
versions (before 4.5) of TPTP does not support profiling eclipse JUnit
plugin? (I can make 4.4 profile others, e.g. non-plugin JUnit tests,
Java Programs)

Owen


Jingwen 'Owen' Ou wrote:
> Hiya,
>
> I could not profile eclipse JUnit plugin using TPTP. It keeps
> complaining "agent controller is unavailable under 10006".
>
> Here is my setting: The default port setting in the "profiling and
> logging" page is 10002. And in the "host" page, I have port 10002 and
> port 10006 (both pass the test connection).
>
> It can find the monitor in the running page. But when clicking run, it
> complains "agent controller is unavailable under 10006". It seems TPTP
> cannot connect the external agent controller.
>
> I also install the standalone agent controller, and the SampleClient
> seems fine, but with wired output (there should be 5 Incoming data
> between the start and the stop??):
>
> ------------------------------------------------------------ --------------
> Connected to the Agent Controller on "localhost" at port number 10006
>
> The Time Collector Agent ID: 103
>
> Established a data channel with the agent.
>
> Sending 5 Hello messages over data channel to TimeCollector ...
>
> Start the TimeCollector ...
>
> Incoming data: Hello from Time Collector Agent - Count 0
>
> Incoming data: Hello from Time Collector Agent - Count 1
>
> Incoming data: Hello from Time Collector Agent - Count 2
>
> Incoming data: Hello from Time Collector Agent - Count 3
>
>
> Stop the TimeCollector ...
>
> Incoming data: Hello from Time Collector Agent - Count 4
>
> Incoming data: Hello from Time Collector Agent - Count 5
>
> Incoming data: Hello from Time Collector Agent - Count 6
>
> Incoming data: Hello from Time Collector Agent - Count 7
>
> Incoming data: Hello from Time Collector Agent - Count 8
>
> Incoming data: Hello from Time Collector Agent - Count 9
>
> Incoming data: Hello from Time Collector Agent - Count 10
>
> All finished
> Press any key to exit...
>
> ------------------------------------------------------------ --------------
>
> Do any of you know how to profile an eclipse plugin using TPTP?
>
> Thank you,
> Owen
Previous Topic:Not able run test cases with GEF 3.3.2 version
Next Topic:ProbeKit TPTP & java 1.6
Goto Forum:
  


Current Time: Thu Mar 28 17:55:54 GMT 2024

Powered by FUDForum. Page generated in 0.02569 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top