Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » http recording/ how to run the test correctly
http recording/ how to run the test correctly [message #51705] Thu, 26 January 2006 14:50 Go to next message
Eclipse UserFriend
Originally posted by: mark.worthmann.emprise.de

Hi,

I am new to TPTP and I have the following problem with http recording.

1.I choose file->new->other->recording->Http Recording to record my
activity
in the browser(IE).
2.I choosed a new folder in my project (i named then project
TestContainer) and named the recording file TestTPTPRecording.rec.
->clicked finish
3.An emty browserwindow opens (IE) and I logged in in my portal. After
that I closed the browserwindow (so that the recording stopped).
4.The recorder controller says:
kBytes recorded:0
...
Recording completed
Test to be generated:
/TestContainer/test-ressources/TestTPTPRecording.testsuite
Test Generation completed

5. I clicked with the right mousebutton on
TestTPTPRecording.recmodel->Generate Test->finish and there comes a new
file with it called LoginTest.testsuite
6. Now the problem: if try to run this file as Test i get the folling
error:

IWAT2010E The configuration does not provide a Launchable Test Element



Why can I not run the test. Do have do set anything in the configuration.
And if it so what and where do I have to do this? Why there are 0 kb
recorded, do I have to do anything special in the browser while recording?


Please, can anyone help me?
Re: http recording/ how to run the test correctly [message #51717 is a reply to message #51705] Thu, 26 January 2006 16:43 Go to previous messageGo to next message
Mark D Dunn is currently offline Mark D DunnFriend
Messages: 11
Registered: July 2009
Junior Member
This is a multipart message in MIME format.
--=_alternative 005BE45F85257102_=
Content-Type: text/plain; charset="US-ASCII"

If you recieved "kbytes recorded: 0 " that means that no HTTP traffic was
recorded. Therefore the test will be empty, and there will be nothing to
execute. We first need to get a valid recording before proceeding.

This 0 kbytes recorded problem usually occurs when you are using an
automatic proxy configuration script or have checked the 'bypass proxy for
local addresses' or 'do not use proxy server for addresses beginning
with..." options. Make sure that neither of these are used. Are you
going through an HTTP Proxy?

Try this regedit command that dumps some IE settings into a file:

regedit /e IEConfig.reg
" HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ Internet
Settings\"

and send to me directly (mddunn@us.ibm.com) the IEConfig.reg generated by
this command and I will most likely be able to pinpoint the problem.
--=_alternative 005BE45F85257102_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">If you recieved &quot;kbytes recorded:
0 &quot; that means that no HTTP traffic was recorded. Therefore the test
will be empty, and there will be nothing to execute. &nbsp;We first need
to get a valid recording before proceeding.</font>
<br>
<br><font size=2 face="sans-serif">This 0 kbytes recorded problem usually
occurs when you are using an automatic proxy configuration script or have
checked the 'bypass proxy for local addresses' or 'do not use proxy server
for addresses beginning with...&quot; options. &nbsp;Make sure that neither
of these are used. &nbsp;Are you going through an HTTP Proxy? &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">Try this regedit command that dumps
some IE settings into a file:</font>
<br>
<br><font size=2 face="sans-serif">regedit /e &nbsp;IEConfig.reg &nbsp;&quot;HKEY_CURRENT_USER\Software\Microsoft\Win dows\CurrentVersion\Internet
Settings\&quot;</font>
<br>
<br><font size=2 face="sans-serif">and send to me directly (mddunn@us.ibm.com)
the IEConfig.reg generated by this command and &nbsp; I will most likely
&nbsp;be able to pinpoint the problem.</font>
--=_alternative 005BE45F85257102_=--
Re: http recording/ how to run the test correctly [message #52122 is a reply to message #51717] Mon, 30 January 2006 07:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mark.worthmann.emprise.de

Is your E-Mailadress right? I could not send a Mail to it(it comes back to
me).

Now I tried it again with another side than before, and I got kb as
recorded(before that I used localhost). But its the same problem like in
my last post. I could not start the test after the recording and got the
error: IWAT4037E Problems found in Launch Configuration. See error log for
detailed status.
IWAT2010E The configuration does not provide a Launchable Test Element
Re: http recording/ how to run the test correctly [message #52176 is a reply to message #52122] Mon, 30 January 2006 14:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mark.worthmann.emprise.de

My Problem is that no sourcefiles are generated.
Re: http recording/ how to run the test correctly [message #52250 is a reply to message #51705] Tue, 31 January 2006 16:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: talktomanalar.yahoo.com

Do you have RAC running? If not download the install it by following
instructions here

http://www.eclipse.org/tptp/home/downloads/installguide/Inst allGuide41.html#install_agent_controller

Get the "standard" RAC and not the new technology Agent Controller. The
following are the steps I used to successfully create and execute the
test scripts

1. Create a new Java project.
2. Create a source folder called src.
3. Start RAC. Ensure the port numbers in RAC and Eclipse match. The
RAC port number is specified in RAC_HOME/config/serviceconfig.xml. In
Eclipse the port number is specified in Window -> Preference -> Test.
4. Choose New -> Other -> Test -> Test From Recording.
5. In the next dialog box select Create Test From New Recording and
select HTTP Recording.
6. In the next dialog box enter the test file name. Click Finish.

Run whatever test you want to run in the new browser window. Close the
browser to stop recording (or click Stop)

7. To generate source for the test, right click on the recorder test
and select Generate. Please note you need to be in Test Perspective to
get this option. (Window -> Open Perspective -> Other -> Test).
8. In the dialog box specify the source folder and other information.
On my 1 gig machine it takes a while to generate the source.
9. To execute the script, create a new Run configuration for Test. It
is pretty intuitive.

Hope this helps.

Mark W wrote:
> Hi,
>
> I am new to TPTP and I have the following problem with http recording.
>
> 1.I choose file->new->other->recording->Http Recording to record my
> activity
> in the browser(IE).
> 2.I choosed a new folder in my project (i named then project
> TestContainer) and named the recording file TestTPTPRecording.rec.
> ->clicked finish
> 3.An emty browserwindow opens (IE) and I logged in in my portal. After
> that I closed the browserwindow (so that the recording stopped).
> 4.The recorder controller says:
> kBytes recorded:0
> ..
> Recording completed Test to be generated:
> /TestContainer/test-ressources/TestTPTPRecording.testsuite
> Test Generation completed
>
> 5. I clicked with the right mousebutton on
> TestTPTPRecording.recmodel->Generate Test->finish and there comes a new
> file with it called LoginTest.testsuite
> 6. Now the problem: if try to run this file as Test i get the folling
> error:
>
> IWAT2010E The configuration does not provide a Launchable Test Element
>
>
> Why can I not run the test. Do have do set anything in the
> configuration. And if it so what and where do I have to do this? Why
> there are 0 kb recorded, do I have to do anything special in the browser
> while recording?
>
>
> Please, can anyone help me?
>
>
>
>
>
>
Re: http recording/ how to run the test correctly [message #52332 is a reply to message #52250] Wed, 01 February 2006 11:08 Go to previous message
Eclipse UserFriend
Originally posted by: mark.worthmann.emprise.de

Hey, I can start the test now.
The problem was, that I did not switch to the Test Navigator view, but
used the normal navigator view of Eclipse. There is also a link "generate
test" in the right mouse-click menu of the *.recmodel-file and I thought,
that that was the generate link.

Ok, now I can record an run tests. The next step for me will be to find
out all information about the tests after running (I think that are the
reports in the right-mouse-click-menu). And then I will try to use a
datapool.

Thank you,
Mark
Previous Topic:unable to create the selected preference page - org.eclipse.hyades.trace.ui
Next Topic:Profile Application causes Eclipse to use 50% CPU refreshing workspace
Goto Forum:
  


Current Time: Fri Apr 19 21:22:46 GMT 2024

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

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

Back to the top