Forum Discussion

Elsevier_-_OH_S's avatar
Elsevier_-_OH_S
Contributor
11 years ago

[Res] CAnt move my Rest test case in the navigator window

Hi i have problem moving my test cases in the navigator window from one place to other (Drag and drop)for REST test case.....but its working for type SOAP test cases not for REST.....Please let me know why so,.....

6 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    can you please detail what you are trying to do, so that we can recreate the issue. I understand that you are trying to move a REST Test Step out of the original test case. Are you trying to reorder it in a test case? Move it to another test case? Move it to another project? If to another project, is the REST Interface definition declared in that project?

    Thanks,
    Michael Giller
    SmartBear Software
  • Ok,ok i am doing under that same project and under the resource i have method and under method i have test case and from those test cases i want to drag a test to some other location under same method but it is showing me block sign(when i try it always show the circle with a line through it, wherever my mouse pointer tries to place it) when i am droping it .
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    OK, I think we are calling some items different names. Here's how I break out the objects in the navigator tree:

    (From this article - http://blog.smartbear.com/api-testing/getting-started-with-soapui-pro/)

    So if you are moving anything under the interface (Green or Blue hourglass), then you cannot drag and drop those items. The interface is a mapping to the web service, and just because you are dragging a method in SoapUI, it does not mean it changed in web service definition.

    Please let me know if you are referring to a different object though.

    Thanks,
    Michael Giller
    SmartBear Software
  • Hi,

    From your attachment I realized that you have created you TestCase under the Interface (Refer Michael Giller's snapshot). You need to remove the Test requests you have created under the Interface, Right click on the project > Create new TestSuite > Create new TestCase > Create the request steps (your Test1, Test2) under TestCase. You can then change the sequence of the steps under the TestCase window. Interface is like operations so it will include all the requests to referred in TestCase.

    Refer this link,
    http://www.soapui.org/REST-Testing/getting-started.html
    http://www.soapui.org/Functional-Testing/functional-testing.html

    Thanks,
    Jeshtha

    SmartBear Support