Gatling ve Scala'da yeniyim. Bir java SOAP web hizmetini Gatling 2.2.0 kullanarak nasıl çağırır/test edebilirim? Ben google ve gatling belgelerine aramış ama bir oGatling kullanarak bir SOAP Web hizmeti nasıl çağırılır 2.2.0
kodu val HTTPprotocol = http .baseURL ("http://PUNITP83267L:8081/WebServiceProject/services/MyService") val headers_0 = Harita ( "-kodlamasını kabul" için herhangi bir bağlantı bulamadı -> "gzip , ", " İçerik Türü "->" text/xml; charset = UTF-8 ", " SOAPAction "->" ", " İçerik Uzunluğu "->" 275 ", " Ana Bilgisayar "- > "PUNITP83267L: 8081", "Bağlantı" -> "canlı", "kabul dili" -> "en-US, tr; q = 0.8", "kullanıcı aracı" -> "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, li) ke Gecko) Chrome/49.0.2623.112 Safari/537,36")
val scn = scenario("SOAPRecordedSimulation")
.exec(http("simple Soap Request")
.post("<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><soapenv:Body><greetMeResponse xmlns=\"http://ws.star.fs.infosys.com\"><greetMeReturn>Hello uMESH</greetMeReturn></greetMeResponse></soapenv:Body></soapenv:Envelope>\"\r\n")
.headers(headers_0))
setUp(scn.inject(atOnceUsers(1))).protocols(httpProtocol)
}
SOAP servis çağrısı için herhangi bir kaydedici var mı? SOAP UI kullanarak? – UmeshPathak