Forum Discussion

dwille's avatar
dwille
Occasional Visitor
7 years ago

SoapUI will ignore port information in URL

Hi all

 

if using this URL, the nextline (snap out of HTTP log) shows correctly the host including port:

 

URL:    https://10.0.20.48:49016/amopp/services/GWService

Wed Jan 10 16:04:46 CET 2018:DEBUG:>> "Host: 10.0.20.48:49016[\r][\n]"

 

In next example, the debug line shows up with missing port information in host; therefor getting a bad URL response

 

URL: https://post_test_amopp.giftcard.ch:49018/amopp/services/GWService

Wed Jan 10 15:53:14 CET 2018:DEBUG:>> "Host: post_test_amopp.giftcard.ch[\r][\n]"

 

 

Anyone a solution for that?

 

Many thanks

  • The port normally appears there. Perhaps some problem with having underscores in your hostname?

     

    When I tried to reproduce, I wasn't even able to get the request to send to a hostname that had underscores.

  • JHunt's avatar
    JHunt
    Community Hero

    The port normally appears there. Perhaps some problem with having underscores in your hostname?

     

    When I tried to reproduce, I wasn't even able to get the request to send to a hostname that had underscores.