choose another content type by http/url post tests

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
holiday
Posts: 10
Joined: Wed Aug 06, 2008 6:54 am

choose another content type by http/url post tests

Post by holiday »

hi guys,

is it possible to change the content type for http/url tests with post requests? the default type application/x-www-form-urlencoded doesn´t work.
we need content type text/xml, but if we put it into the optional headers field it is completly ignored by the hostmon.

if you have any other ideas to get this test work please tell me.

cheers,

/stephan
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

HostMonitor always adds "Content-Type: application/x-www-form-urlencoded" line for POST requests plus it may add your custom headers. E.g.
Content-Type: application/x-www-form-urlencoded
Content-Type: text/xml

What if we change priority so header will looks like
Content-Type: text/xml
Content-Type: application/x-www-form-urlencoded
Will it work for you?

Regards
Alex
holiday
Posts: 10
Joined: Wed Aug 06, 2008 6:54 am

Post by holiday »

hi alex,

i´m not sure. maybe it works. we did some tests with soapui and it´s necessary that the interface we want to check is contacted with text/xml otherwise we get a bad response.

what will be the next steps?

cheers,

/stephan
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You may install Advanced Host Monitor version 8.28 then download "unofficial" update www.ks-soft.net/download/hm828f.zip

Regards
Alex
holiday
Posts: 10
Joined: Wed Aug 06, 2008 6:54 am

Post by holiday »

thanks a lot. we will update our hostmon system and install the "unofficial" version.
but one little question: what is with future updates? is there something special we have to deal with?

cheers,

/stephan
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

It depends on your answer. If this option helps you, it will be included into future release.

Regards
Alex
holiday
Posts: 10
Joined: Wed Aug 06, 2008 6:54 am

Post by holiday »

Hi,
with the HTTP Test it works.
Can you implement it in the next official version?

thanks

regards
christopher
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

No problem.

Regards
Alex
Post Reply