Forum Discussion

Lior_Kinsbruner's avatar
Lior_Kinsbruner
New Contributor
16 years ago

Assigning INTERFACE dynamically to a specific TEST CASE

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).

3 Replies

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi!

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

    regards,

    /Ole
    eviware.com
  • 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
  • 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