0

Tsung を使用して SOAP 呼び出しを介して Web サービスのパフォーマンスをテストしようとしています。この例で説明されているようにスクリプトを作成しました: http://lists.process-one.net/pipermail/tsung-users/2010-November/001584.html

<request>
<http url="/Service.asmx" version="1.0" contents_from_file="/home/local/user/.tsung/c.xml" content_type="application/soap+xml; charset=UTF-8"  method="POST">     
<soap action="Retrieve"/>
</http>
</request>

contents_from_file="" と contents="" が同様に機能することを確認したので、問題は発生しません。

問題は、サーバーから応答がないことです。ダンプ ファイルは次のようになります。

NewClient:1421147358.215102:1
load:1
Send:1421147358.22721:<0.94.0>:POST /Service.asmx HTTP/1.0
Host: webservice.com
User-Agent: tsung
SOAPAction: "Retrieve"
Content-Type: application/soap+xml; charset=UTF-8
Content-Length: 1991

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
    <!-- headers -->
</SOAP-ENV:Header>
<SOAP-ENV:Body>
    <!-- body -->
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

そして - 何もありません。tsung_controller@.log にエラーはありません

以前の QA エンジニアが Parasoft Load Test ツールで同じリクエストを既に作成しており、機能しています。Tsungで再現しようとしています。

私は何を間違っていますか?誰かがこれで私を助けてくれますか?

4

1 に答える 1

0

解決しました。設定ファイルにエラーがありました。タグで間違ったporttypeの値を使用しました。serversそのような要求は正常に機能します。

于 2015-02-03T14:29:46.527 に答える