KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

choose another content type by http/url post tests

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
holiday



Joined: 06 Aug 2008
Posts: 10

PostPosted: Thu Nov 05, 2009 6:49 am    Post subject: choose another content type by http/url post tests Reply with quote

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
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Nov 05, 2009 7:44 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
holiday



Joined: 06 Aug 2008
Posts: 10

PostPosted: Fri Nov 06, 2009 5:29 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Nov 06, 2009 2:12 pm    Post subject: Reply with quote

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

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
holiday



Joined: 06 Aug 2008
Posts: 10

PostPosted: Mon Nov 09, 2009 7:45 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Nov 09, 2009 10:13 am    Post subject: Reply with quote

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

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
holiday



Joined: 06 Aug 2008
Posts: 10

PostPosted: Fri Nov 20, 2009 4:46 am    Post subject: Reply with quote

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

thanks

regards
christopher
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Nov 20, 2009 1:30 pm    Post subject: Reply with quote

No problem.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index