|URL Test : How to change hostname ? [message #135124]
||Wed, 27 August 2008 09:14
| Martin Carmichael
Registered: July 2009
When recording a web application, the recorded test suite is to be opened
in the URL Test editor. This editor allows to change recorded HTTP
requests, before the test's Java source is generated and compiled.
Suppose I would like to run the URL test on different machines like
development or acceptance web server:
What happen if I want to run the same test against another machine (new
hostname) ? Do I have to manually search and replace all hard-coded
references to host name in the URL test editor and re-generate java source
It would be convenient to use a variable or parameter that could be
configured at run-time.
|Re: URL Test : How to change hostname ? [message #135458 is a reply to message #135201]
||Fri, 05 September 2008 06:50
| Paul Slauenwhite
Registered: July 2009
The TPTP URL Test type is used to performance test web applications,
commonly referred to as URL blasting. You can do some level of functional
testing, such as ensuring the page is available. However, the TPTP URL test
type is not intended for functional verification (e.g. page title
verification). You could manually modify the generated JUnit test code with
asserts on the various properties of the HTTP response and/or returned
When recording, you only need the Agent Controller or Integrated Agent
Controller on the local host (recording is only supported on the local
host). However, during playback, the test is deployed and execution on the
target host (maybe the local host), which requires the Agent Controller to
be running. The test will execute on the target host, by invoking HTTP
requests on the web application, possibly running on a different host.
"Martin Carmichael" <email@example.com> wrote in message
> I am not sure I understand TPTP URL tests very well.
> I need to do functional web application tests. So I Use TPTP recording
> against a web application hosted on a given machine. As far as I know,
> there is no agent controller installed on the given remote machine.
> Suppose I record web session at google. google is the remote host I test
> against and there is no agent controller there. I just want to record and
> replay back my tests cases.
Powered by FUDForum
. Page generated in 0.02419 seconds