Forum Discussion

misior88's avatar
misior88
New Contributor
7 years ago

Changing Endpoints

I Have a Question,   In the Request if you Double click there is an Endpoint page with endpoints. like in the Picture.   inow have Locahost 8080 and 4040. is there Any way for me to get...
  • JHunt's avatar
    JHunt
    7 years ago

    Hi, you can use

     

    project.interfaces["Some Interface"].getEndpoints()

    Depending on where you run the script, to get project you might need to use

    context.getTestCase().getProject()

    or similar.