Eviware Forum

soapUI => soapUI => Topic started by: Lior Kinsbruner on August 25, 2008, 01:04:33 pm



Title: Assigning INTERFACE dynamically to a specific TEST CASE
Post by: Lior Kinsbruner on August 25, 2008, 01:04:33 pm
I managed to add new interface to an existing project. I want to assign this added interface to new tests which I add through a JAVA code (SOAP UI API).


Title: Re: Assigning INTERFACE dynamically to a specific TEST CASE
Post by: omatzura on August 25, 2008, 01:30:49 pm
Hi!

I'm not exactly sure about what you want to do; create new testrequests/testcases for the new interface?

regards,

/Ole
eviware.com


Title: Re: Assigning INTERFACE dynamically to a specific TEST CASE
Post by: Lior Kinsbruner on August 25, 2008, 01:43:12 pm
Hi, yes. I created an interface through the API code and now when adding new test case through the API I want this test case to use the added interface. How can I do so? Thanks


Title: Re: Assigning INTERFACE dynamically to a specific TEST CASE
Post by: Lior Kinsbruner on August 26, 2008, 04:05:37 pm
Hi, I will try to rephrase my topic.

Here are the steps I am doing:
1) Loading through API an existing SoapUI project
2) Defining a new INTERFACE through API
3) Run a test case from the project we invoked in step 1 using the new added INTERFACE from step 2 (and by this Overriding the INTERFACE which was assigned to this test case in the original SoapUI project).

How can I do step 3 through API (Java Code)?

Thanks,
Lior