Executing load test of a WCF service using JMeter -
i'm trying running load tests using jmeter v2.5.1. wcf service published in iis wcf-customisolated.
if follow instructions especified in url http://twenty6-jc.blogspot.com/2011/11/performance-and-loading-testing-wcf.html, requests sent tool, obtain following error code:
response code:415 response message:cannot process message because content type 'text/xml' not expected type 'application/soap+xml; charset=utf-8'. cabeceras de respuesta: http/1.1 415 cannot process message because content type 'text/xml' not expected type 'application/soap+xml; charset=utf-8'. server: microsoft-iis/7.5 x-powered-by: asp.net date: thu, 08 mar 2012 13:33:17 gmt connection: close content-length: 0 httpsampleresult campos: contenttype: text/xml dataencoding: utf-8
the xml message have established in soap/xml-rpc textbox following:
<soap:envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xun="http://xunta.ifrt.servicios.firma.validarcertificado.peticion"> <soap:header> <to soap:mustunderstand="1" xmlns="http://www.w3.org/2005/08/addressing"> https://localhost/validarcertificado/validarcertificado.svc</to> </soap:header> <soap:body> <xun:peticion> <!--optional:--> <xun:atributos> <!--optional:--> <xun:datosautorizacion> <!--optional:--> <xun:identificadorsolicitante>oficinaeadmin</xun:identificadorsolicitante> <!--optional:--> <xun:tokenpassword>nimdaeanicifo</xun:tokenpassword> <!--optional:--> <xun:motivo>motivo</xun:motivo> </xun:datosautorizacion> <!--optional:--> <xun:datosejecucion> <!--optional:--> <xun:identificadorsolicitudcliente>1234</xun:identificadorsolicitudcliente> </xun:datosejecucion> </xun:atributos> <!--optional:--> <xun:mensajeentrada> <xun:tipopeticion>obtenerinfocertificado</xun:tipopeticion> <!--optional:--> <xun:parametros> <!--optional:--> <xun:certificado>miiiezccbvugawibagijalsaaaaaaaacma0gcsqgsib3dqebbquamihgmqswcqydvqqgewjfuzeumcwgcsqgsib3dqejaryfywnfy2ftzxjmaxjtyv9jy0bjyw1lcmzpcm1hlmnvbtfdmeega1uebxm6twfkcmlkichzzwugy3vycmvudcbhzgryzxnzigf0ihd3dy5jyw1lcmzpcm1hlmnvbs9hzgryzxnzktesmbaga1uebrmjqtgynzqzmjg3mrkwfwydvqqkexbbqybdyw1lcmzpcm1hifnbms0wkwydvqqdeyrbqybdyw1lcmzpcm1hienlcnrpzmljywrvcybdyw1lcmfszxmwhhcnmdcxmjewmtuwmju4whcnmtixmja4mtuwmju4wjccav8xczajbgnvbaytakvtms4wlaydvqqdeyvdzxj0awzpy2fkbybqcnvlymfzifnvznr3yxjlifjldm9jywrvmsiwiayjkozihvcnaqkbfhnpbmzvqgnhbwvyzmlybweuy29tmriweaydvqqfewkxmjm0nty3ofoxgjaybgnvbaqtevnvznr3yxjlifjldm9jywrvmrwwggydvqqqexndzxj0awzpy2fkbybqcnvlymfzmrswgqykkwybbagbhy4eaxmlrvnbotk5otk5otkxfjaubgnvbaotdufdienhbwvyzmlybwexftatbgnvbastderlcgfydgftzw50bzeomawga1uedbmfq2fyz28xujbqbgnvba0tsunoyw1izxjzig9mienvbw1lcmnliff1ywxpzmllzcbdzxj0awzpy2f0ztogtmf0dxjhbcbqzxjzb24gq0fnlvbglvnxlutqu0mwgz8wdqyjkozihvcnaqebbqadgy0amigjaogbalv2fiw4dwrumse6k0zotnmuqhba3lxgzk887oddwthufxfjeiqid+0imxd4ehi0kk5glyu/hq1/tciddqn2ovzxajwsylfh1mj3i5fwxsl5iidekapyhb++lqkxb3nniwpaj2pwuwlif1df1k8abx0/d5k9yyzq9dsnay21eqrragmbaagjggpqmiidzdambgnvhrmbaf8eajaama4ga1uddweb/wqeawidudapbgnvhsueijagbggrbgefbqcdagyikwybbquhawqgcisgaqqbgjcuagiweqyjyiziayb4qgebbaqdagwgmeigcwcgsagg+eibawq1fjnvukk6ahr0cdovl2nybc5jyw1lcmzpcm1hlmnvbs9hy19jyw1lcmzpcm1hx2njlmnnat8wrgyjyiziayb4qgeibdkwn1vsstpodhrwoi8vy3bzlmnhbwvyzmlybweuy29tl2nwcy9hy19jyw1lcmzpcm1hx2njlmh0bwwwmqyjyiziayb4qgenbcqwiknfulrjrkldqurpienvquxjrkldqurpic0guke6iendotkwhqydvr0obbyefpbrrallmmzbftmgpwzxfgkxkncpmhggccsgaqufbwebbgwwajbabggrbgefbqcwaoy0ahr0cdovl3d3dy5jyw1lcmzpcm1hlmnvbs9jzxj0cy9hy19jyw1lcmzpcm1hx2njlmnyddambggrbgefbqcwayyaahr0cdovl29jc3auy2ftzxjmaxjtys5jb20wgasga1udiwsbozcboiauth9onrxoks43cmdhro9apsoxmbmhgyskgyewfzelmakga1uebhmcrvuxjzalbgnvbaothkfdienhbwvyzmlybwegu0egq0lgiee4mjc0mzi4nzejmcega1uecxmaahr0cdovl3d3dy5jagftymvyc2lnbi5vcmcxijagbgnvbamtgunoyw1izxjzig9mienvbw1lcmnlifjvb3scaquwdgydvr0fbg8wbta0odkgmiyuahr0cdovl2nybc5jyw1lcmzpcm1hlmnvbs9hy19jyw1lcmzpcm1hx2njlmnybda1odogmyyvahr0cdovl2nybdeuy2ftzxjmaxjtys5jb20vywnfy2ftzxjmaxjtyv9jyy5jcmwwkgydvr0sbcmwiyefywnfy2ftzxjmaxjtyv9jy0bjyw1lcmzpcm1hlmnvbtcbkgydvr0gbigkmighmigebg0rbgeeayghlgojagebmhmwpwyikwybbquhagewm2h0dha6ly9jchmuy2ftzxjmaxjtys5jb20vy3bzl2fjx2nhbwvyzmlybwffy2muahrtbdawbggrbgefbqccajakgijdrvjusuzjq0fetybdvufmsuzjq0fetyatifjboibdqzk5mc8gccsgaqufbwedbcmwitaibgyeai5gaqewfqygbacorgecmasta0vvugibaaibatanbgkqhkig9w0baqufaaocaqeaiws4udgkr1vc6xetwo8jowfvcde0ktnyz6yuswezvqxycgwr9iufvg5seusf+26pwbevs+gnkwdkej1ey8zwjwx/w6o/tcjiuggdmllcklv+dslygjs6j/2xhlqzvkkjc4db5cme0sykkhfvyatroqeclngij2xziwrry+47teoll4tw0mhznshjly7r0kbbzptaaxxmfpt6xjuwtp0urhz3ryg7cywzzpla9u+9+q9lqafsxkqautmviwkc1hjdxrhaybwu8zu9a5ljlmuyqd7oduhymwrq6vssyvf+igznk+9cbdf6iaf8vxi5mflmyspptcky457oj572wo0qua==</xun:certificado> <!--optional:--> <xun:modovalidacion>2</xun:modovalidacion> <xun:obtenerinfo>true</xun:obtenerinfo> </xun:parametros> </xun:mensajeentrada> </xun:peticion> </soap:body> </soap:envelope>
any ideas error message?
best regards,
try using http header manager specify correct header (content type : 'application/soap+xml; charset=utf-8').
Comments
Post a Comment