Forum Discussion

cancan's avatar
cancan
Occasional Contributor
12 years ago

Port number of a Test Suite

Dear all,

I would like to ask actually something very simple! How can I find the port number of a test suite? Yes, I dont mean the port number of mock service.

Thanks in advance

Regards
Cancan

3 Replies

  • GiscardN's avatar
    GiscardN
    Frequent Contributor
    Hi,

    A port number isn't part of the configuration of a TestSuite. If it's some value that you are passing to work with during the execution of your tests, or it's part of the endpoint of the service you are testing, then that will depend on your particular testing scenario. Does that clarify?

    Regards,

    Giscard
    SmartBear Support
  • cancan's avatar
    cancan
    Occasional Contributor
    Hi,

    Thank you very much for your fast answer. However I need to find out or create a port number of a test suite, like we can do for mock services.

    I thin it should be somehow possible because we can do it for mock services

    Regards
    cancan
  • GiscardN's avatar
    GiscardN
    Frequent Contributor
    Hi,

    The MockService, like a regular web service that you are testing will run on a machine where it can be reached at a particular address and port number. The TestSuite itself is a way to organize your test scenarios into TestCases that themselves have TestSteps.
    If you need to run a TestStuite where you are testing a service that runs on a particular port, you can use environments for that.
    Take a look at this article: http://www.soapui.org/Working-with-Projects/environment-handling-in-soapui.html.

    Regards,

    Giscard
    SmartBear Support