Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Buildiing custom test execution environment
Buildiing custom test execution environment [message #73281] Mon, 05 June 2006 15:01 Go to next message
Eclipse UserFriend
Originally posted by: afadimatou.axway.com

Hi,

I'm trying to build a custom test execution environment on Eclipse SDK
Version: 3.2.0 and TPTP 4.2.0. I use the tutorial 'Building a Custom Test
Execution Environment' from EclipseCon2005 tutorials. I did all the
changes on plugin.xml (Extension Points, Dependencies ...) using the
Plug-in Migration Guide v4.0.0 but it doesn't work.

I don't know why it doesn't work. Can somebody help me?

Thanks,

FA.
Re: Building custom test execution environment [message #73300 is a reply to message #73281] Mon, 05 June 2006 16:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: afadimatou.axway.com

Here is the error message I get when trying to run a test using the plugin
provided on the tutorial:
org.eclipse.hyades.internal.execution.local.control.Inactive ProcessException
at
org.eclipse.hyades.execution.harness.TestExecutionHarnessExe cutorStub.launch(TestExecutionHarnessExecutorStub.java:417)
at
org.eclipse.hyades.execution.harness.TestExecutionHarness.la unchTestExecution(TestExecutionHarness.java:2058)
at
org.eclipse.hyades.execution.harness.TestExecutionHarness.ac cess$2(TestExecutionHarness.java:1856)
at
org.eclipse.hyades.execution.harness.TestExecutionHarness$2. run(TestExecutionHarness.java:692)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

Any help, any idea is welcome.
Regards,

FA.
Re: Building custom test execution environment [message #73513 is a reply to message #73300] Thu, 08 June 2006 12:45 Go to previous message
Joe Toomey is currently offline Joe ToomeyFriend
Messages: 79
Registered: July 2009
Member
This is a multipart message in MIME format.
--=_alternative 00460FBC85257187_=
Content-Type: text/plain; charset="US-ASCII"

Hi FA.

Here are a few suggestions:

1) Make sure you have properly added your runner to the classpath in the
agent controller as described in slides 83/84. In TPTP 4.2, the directory
you should be working with is
<AgentControllerHome>\plugins\org.eclipse.hyades.test.tools.core_ <buildID>\config
for the pluginconfig.xml file.

2) Make sure you have not inadvertantely copied Microsoft "smart quotes"
from the text of the presentation into your pluginconfig.xml file (making
it an invalid XML file.) You can easily check this by trying to open the
file in a web browser.

3) If you're convinced that your runner has been propelry added to the
agent controller's classpath and that the pluginconfig.xml file contains
all valid XML characters, you will need to do some debugging to determine
why your runner process is not coming up properly. As the tutorial
describes on slide 51, there are 3 JVMs you may be concerned with. I
suggest debugging the workbench first, as it is the easiest to debug, and
often has enough information to determine the problem. Set a breakpoint
in your executable object adapter class and double check the arguments
that are being passed to the JVM. Ensure that these arguments are
correct. Double check this by trying to launch a jvm with the classpath
described in your modfied pluginconfig.xml file, and with the command line
arguments constructed by your executable object adapter. This shouldn't
actually run a test successfully, but it also should not complain that it
couldn't find your runner class. If it does, then you have a problem with
the classpath described by your pluginconfig,xml.

Hopefully this will help. If not, you can try debugging the session JVM,
which should launch your runner JVM. Tips for debugging each of these
JVMs are on slides 53-55 of the tutorial. But I'm hopeful that one of the
above suggestions will get you back on track. Feel free to ask again if
you continue to have problems.

Thanks,
--Joe

Joe Toomey
Senior Software Engineer
Rational Software
IBM Software Group
--=_alternative 00460FBC85257187_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi FA.</font>
<br>
<br><font size=2 face="sans-serif">Here are a few suggestions:</font>
<br>
<br><font size=2 face="sans-serif">1) Make sure you have properly added
your runner to the classpath in the agent controller as described in slides
83/84. &nbsp;In TPTP 4.2, the directory you should be working with is &lt;AgentControllerHome&gt;\plugins\org.eclipse.hyad es.test.tools.core_&lt;buildID&gt;\config
for the pluginconfig.xml file.</font>
<br>
<br><font size=2 face="sans-serif">2) Make sure you have not inadvertantely
copied Microsoft &quot;smart quotes&quot; from the text of the presentation
into your pluginconfig.xml file (making it an invalid XML file.) &nbsp;You
can easily check this by trying to open the file in a web browser.</font>
<br>
<br><font size=2 face="sans-serif">3) If you're convinced that your runner
has been propelry added to the agent controller's classpath and that the
pluginconfig.xml file contains all valid XML characters, you will need
to do some debugging to determine why your runner process is not coming
up properly. &nbsp;As the tutorial describes on slide 51, there are 3 JVMs
you may be concerned with. &nbsp;I suggest debugging the workbench first,
as it is the easiest to debug, and often has enough information to determine
the problem. &nbsp;Set a breakpoint in your executable object adapter class
and double check the arguments that are being passed to the JVM. &nbsp;Ensure
that these arguments are correct. &nbsp;Double check this by trying to
launch a jvm with the classpath described in your modfied pluginconfig.xml
file, and with the command line arguments constructed by your executable
object adapter. &nbsp;This shouldn't actually run a test successfully,
but it also should not complain that it couldn't find your runner class.
&nbsp;If it does, then you have a problem with the classpath described
by your pluginconfig,xml.</font>
<br>
<br><font size=2 face="sans-serif">Hopefully this will help. &nbsp;If not,
you can try debugging the session JVM, which should launch your runner
JVM. &nbsp;Tips for debugging each of these JVMs are on slides 53-55 of
the tutorial. &nbsp;But I'm hopeful that one of the above suggestions will
get you back on track. &nbsp;Feel free to ask again if you continue to
have problems.</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif">--Joe</font>
<br>
<br><font size=2 face="sans-serif">Joe Toomey <br>
Senior Software Engineer<br>
Rational Software<br>
IBM Software Group </font>
--=_alternative 00460FBC85257187_=--
Previous Topic:problem on starting a recorder?
Next Topic:Can a profile a separate program that invokes Java using JNI?
Goto Forum:
  


Current Time: Tue Apr 16 07:27:37 GMT 2024

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

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

Back to the top