Forum Discussion

atulsureka's avatar
atulsureka
New Contributor
8 years ago

Auto generated folder name for REST request

Hi

 

When I add a new web REST step then it generates a new folder on the disk. It's name is like REST-Service-##. How can I change the folder name. Is there any way to tell what should be the default folder name??

 

Atul

14 Replies

  • avidCoder's avatar
    avidCoder
    Super Contributor

    Could you please elaborate it little bit more.. What do you mean by generating new folder -  REST-Service-##.?

  • hardik043's avatar
    hardik043
    Occasional Contributor

    I am also having same question.

     

    When i create a Test case in any test suite for new end point, in background it creates a folder named "REST-Service-XX". where XX is incremental number as attached screenshot.

     

    This folder contents settings.xml and element.order as attached screenshot.

     

    So, when i create a test case i am giving a name of the test case like "VerifyGetStudentDetail" but when i explorer the project folder it creates a folder named "REST-Service-XX".

     

    I want the folder to be created with the same name as i give to test case. In above case it should be "VerifyGetStudentDetail".

     

    So, Is there any configuration where i can set similar behaviour.

     

    Thanks,

    Hardik

     

  • hardik043's avatar
    hardik043
    Occasional Contributor

    I am also having same question.

     

    When i create a Test case in any test suite for new end point, in background it creates a folder named "REST-Service-XX". where XX is incremental number as attached screenshot.

     

    This folder contents settings.xml and element.order as attached screenshot.

     

    So, when i create a test case i am giving a name of the test case like "VerifyGetStudentDetail" but when i explorer the project folder it creates a folder named "REST-Service-XX".

     

    I want the folder to be created with the same name as i give to test case. In above case it should be "VerifyGetStudentDetail".

     

    So, Is there any configuration where i can set similar behaviour.

     

    Thanks,

    Hardik

     

  • hardik043's avatar
    hardik043
    Occasional Contributor

    I am also having same question.

     

    When i create a Test case in any test suite for new end point, in background it creates a folder named "REST-Service-XX". where XX is incremental number as attached screenshot.

     

    This folder contents settings.xml and element.order as attached screenshot.

     

    So, when i create a test case i am giving a name of the test case like "VerifyGetStudentDetail" but when i explorer the project folder it creates a folder named "REST-Service-XX".

     

    I want the folder to be created with the same name as i give to test case. In above case it should be "VerifyGetStudentDetail".

     

    So, Is there any configuration where i can set similar behaviour.

     

    Thanks,

    Hardik

     

    • avidCoder's avatar
      avidCoder
      Super Contributor

      Could you please tell me the folder path where REST-Service-XX is getting generated? So, that I could see the same in my PC.

       

       

      • hardik043's avatar
        hardik043
        Occasional Contributor

         

         

         

        I have created a test case with name "Sample Test" and then i have added one step "REST Request". It's name is "GetStudentData".

         

        While adding "REST Request" step i have created a new request as above.

         

         

        Now. "REST Request" step is created successfully. Now when i check my project in file explorer it creates a folder named "REST-Service-12" and inside this folder i see below files.

         

         

        My question is folder name "REST-Service-12" is not intuitive for me. So i need to rename it manually.

         

        Could you please advice me on this.

         

        Thanks,

        Hardik