Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » intercepting and using results in HTTP tests
intercepting and using results in HTTP tests [message #83219] Tue, 12 September 2006 14:38 Go to next message
Eclipse UserFriend
Originally posted by: erich.oliphant.vantixweb.com

Hi,
I am a new user of the TPTP. I am trying to determine if it's possible
to 'do things' with the results of a test step.

We use digital signing as a form of authentication. So I need to grab the
results of test step, call a local API, then jam the results of this API
call into a subsequent test step/HTTP request.

It's not obvious from the GUI where views of your test where one might do
this. The generated code has that executeRequest() function but doesn't
make the result available to the caller.

Is there a way to accomplish this with the TPTP
Re: intercepting and using results in HTTP tests [message #84103 is a reply to message #83219] Mon, 25 September 2006 12:02 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Erich,
You are on the right path. You can modify the executeRequest() to add
headers to the HttpRequest object by calling the
HttpElement#addHeader(HttpHeader) API.

Paul
"Erich Oliphant" <erich.oliphant@vantixweb.com> wrote in message
news:a9cd7bedcf5ac03a9e6dc3abe4ff1f80$1@www.eclipse.org...
> Hi,
> I am a new user of the TPTP. I am trying to determine if it's possible
> to 'do things' with the results of a test step.
> We use digital signing as a form of authentication. So I need to grab the
> results of test step, call a local API, then jam the results of this API
> call into a subsequent test step/HTTP request.
>
> It's not obvious from the GUI where views of your test where one might do
> this. The generated code has that executeRequest() function but doesn't
> make the result available to the caller.
>
> Is there a way to accomplish this with the TPTP
>
Previous Topic:TPTP Test Recorder Extension..
Next Topic:Load Testing
Goto Forum:
  


Current Time: Fri Apr 26 01:11:17 GMT 2024

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

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

Back to the top