Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Test Case Generation - TPTP
Test Case Generation - TPTP [message #130101] Thu, 15 May 2008 03:51 Go to next message
Kaushal Missing name is currently offline Kaushal Missing nameFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,
I am facing a problem using TPTP (Hyades) for testing a web application.
The
problem is while generating the test case after recording.
When I am generating the test case (test java file) then duplicate methods
are created, which gives a compiler error.
Can you please tell me the way to resolve it.

Thanks in advance

Regards,
Kaushal
Re: Test Case Generation - TPTP [message #130114 is a reply to message #130101] Thu, 15 May 2008 10:09 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Kaushal,
What version or build of TPTP are you using? How many times do you
generate the test class?

PS
"Kaushal Kumar" <kaushal.nith@gmail.com> wrote in message
news:47941b9582a099b378a26575886fc7e4$1@www.eclipse.org...
> Hi,
> I am facing a problem using TPTP (Hyades) for testing a web application.
> The
> problem is while generating the test case after recording.
> When I am generating the test case (test java file) then duplicate methods
> are created, which gives a compiler error.
> Can you please tell me the way to resolve it.
>
> Thanks in advance
>
> Regards,
> Kaushal
>
Re: Test Case Generation - TPTP [message #130285 is a reply to message #130114] Mon, 19 May 2008 04:15 Go to previous messageGo to next message
Kaushal Missing name is currently offline Kaushal Missing nameFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,
I am using TPTP plugins provided in RSA 7.0 by IBM.
I checked the plugins and found
org.eclipse.tptp.platform.core_4.1.100.v200606131519.jar and other
supporting jars for TPTP recording and execution.

Note: The duplication of methods is happening when the number of requests
in the test suite is large.
Regards,
Kaushal
Re: Test Case Generation - TPTP [message #130390 is a reply to message #130285] Thu, 22 May 2008 17:16 Go to previous messageGo to next message
Joe Toomey is currently offline Joe ToomeyFriend
Messages: 79
Registered: July 2009
Member
Hi Kaushal,

A few comments about your post to the mailing list:

1) RSA 7.0 did not ship with TPTP 4.2. It shipped with TPTP 4.2.1.1.
You can confirm this by looking at the version of plugin
org.eclipse.hyades.test.core. I expect you have version
org.eclipse.hyades.test.core_4.2.2.v200609010912.jar, which was part of
the 4.2.1.1 release. So the good news is that you don't have to worry
about this mysteriously missing 4_2_0 branch. The 4_2_1_1 branch (which
I see is there) is what you should use.

2) I confirm that the source code for the plugins you ask about is there
under this branch -- not sure what you mean when you say the package
structure is missing. I am able to see all the files.

Hope this helps,
--Joe

Kaushal Kumar wrote:

> Hi,
> I have to modify the following two classes of TPTP 4.2.0 project:
> 1. GenTestSuite.java
> (org.eclipse.hyades.test.tools.ui.http.internal.codegen.GenT estSuite)
> 2. HttpRequestHandler.java
> (org.eclipse.hyades.test.http.runner.internal.exec.HttpReque stHandler)
> Can you please tell me the way to get the projects which
> holds these two files i.e.:

> 1. org.eclipse.hyades.test.tools.ui (for GenTestSuite.java), and
> 2. org.eclipse.hyades.test.tools.core (for HttpRequestHandler).

> I have already checked the CVS repository. There I found branches
> as 4_1_0 and next 4_2_1. There is no branch as 4.2.0. Moreover,
> the package structure where these files exist are missing in
> these branches (4_1_0 and 4_2_1). Please guide me how and from
> where to get these projects.

> Note: The files are available in HEAD and 4_4_1 branch but not
> in other branches. The reason to look for 4.2.0 version of TPTP
> is that, we are using RSA 7.0 in our project which comes with
> TPTP 4.2.
Re: Test Case Generation - TPTP [message #130441 is a reply to message #130285] Mon, 26 May 2008 11:19 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Kaushal,
Using the 4.2.1.1 version of TPTP (as shipped with RAS 7.0), we cannot
reproduce this behaviour. Can you attach the test suite?

Paul
"Kaushal Kumar" <kaushal.nith@gmail.com> wrote in message
news:cdcacd524600db0e503a747e69969cc7$1@www.eclipse.org...
> Hi,
> I am using TPTP plugins provided in RSA 7.0 by IBM.
> I checked the plugins and found
> org.eclipse.tptp.platform.core_4.1.100.v200606131519.jar and other
> supporting jars for TPTP recording and execution.
>
> Note: The duplication of methods is happening when the number of requests
> in the test suite is large. Regards,
> Kaushal
>
>
Previous Topic:AGR on GEF editors
Next Topic:New Technology Agent Controller crashing
Goto Forum:
  


Current Time: Wed Apr 24 23:28:36 GMT 2024

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

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

Back to the top