0
私は、RegExpを持つスクリプトを持っていて、変数の値がの配列をフェッチしました。 ファイルに値を格納する必要があります。 bean shellポストプロセッサーを使用してそれを行う方法。ファイル内に1つの値しか格納しないコードを試しました。これで私を助けてください。jmeterのRegExpを使って抽出した配列の値をファイルに格納する方法は?
私の要求応答は、私は豆の殻を使用してファイルに都市名を格納したい
`<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetCitiesByCountryResponse xmlns="http://www.webserviceX.NET"><GetCitiesByCountryResult><NewDataSet>
<Table>
<Country>British Indian Ocean Territory</Country>
<City>Diego Garcia</City>
</Table>
<Table>
<Country>India</Country>
<City>Ahmadabad</City>
</Table>
<Table>
<Country>India</Country>
<City>Akola</City>
</Table>
<Table>
<Country>India</Country>
<City>Aurangabad Chikalthan Aerodrome</City>
</Table>
<Table>
`
です。どのようにそれを行うことができます。