Перейти к содержимому

Публикации pulp_fiction

1 публикаций создано pulp_fiction (учитываются публикации только с 28 апреля 2023)


#120193 Проблема с динамическим параметром в LoadRunner

Отправлено автор: pulp_fiction 23 июля 2013 - 10:50 в Тестирование производительности

Друзья, помогите кто сможет :)
Есть запрос:
silverlight_soap_request("StepName=ExecuteMultipleOperations",
"URL=http://{Server_IP}/clickschedulewebclient/SXP.asmx",
"SOAPEnvelope="
"<?xml version=\"1.0\" encoding=\"windows-1251\" standalone=\"no\"?>"
"<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\">"
"<s:Header>"
"<h:OptionalParameters xmlns:h=\"http://www.clicksoftware.com/OptionalParameters\">"
"<h:CallerIdentity>MGTS\\{Login}</h:CallerIdentity>"
"</h:OptionalParameters>"
"</s:Header>"
"<s:Body xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">"
"<ExecuteMultipleOperations xmlns=\"http://www.clicksoftware.com\">"
"<Operations>"
"<Operation>"
"<Action>Update</Action>"
"<Object>"
"<Object xsi:type=\"Assignment\" xmlns=\"http://www.clicksoftware.com\">"
"<Key>11874946</Key>"
"<Revision>9</Revision>"
"<Task Key=\"{ID_Order}\" xsi:type=\"TaskReference\"></Task>"
"</Object>"
"</Object>"
"</Operation>"
"<Operation>"
"<Action>Update</Action>"
"<Object>"
"<Object xsi:type=\"Task\" xmlns=\"http://www.clicksoftware.com\">"
"<Key>{ID_Order}</Key>"
"<Revision>12</Revision>"
"<Status DisplayString=\"Íàçíà÷åíà\" Key=\"124147714\" xsi:type=\"TaskStatusReference\"></Status>"
"</Object>"
"</Object>"
"</Operation>"
"</Operations>"
"<OneTransaction>true</OneTransaction>"
"<ContinueOnError>false</ContinueOnError>"
"</ExecuteMultipleOperations>"
"</s:Body>"
"</s:Envelope>",
"Snapshot=t39.inf",
"ResponseParam=response",
LAST);

Из данной записи нужно вытащить динамиеский параметр: "<Key>11874946</Key>"
С помощью каких запросов это можно сделать? (web_reg_save_param не помогает)


XML запрос:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
- <s:Envelope xmlns:s="http://schemas.xmlso...oap/envelope/">
- <s:Header>
- <h:OptionalParameters xmlns:h="http://www.clicksoft...nalParameters">
<h:CallerIdentity>MGTS\SIsaev</h:CallerIdentity>
</h:OptionalParameters>
</s:Header>
- <s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/20...hema-instance">
- <GetTasks xmlns="http://www.clicksoftware.com">
- <KeySet>
<Key>44977279</Key>
</KeySet>
<EnableGroupOnTheFly>false</EnableGroupOnTheFly>
- <RequestedProperties>
<Item>Key</Item>
<Item>Revision</Item>
<Item>Status</Item>
</RequestedProperties>
<GetAssignments>true</GetAssignments>
- <AssignmentRequestedProperties>
<Item>Key</Item>
<Item>Revision</Item>
<Item>Task</Item>
</AssignmentRequestedProperties>
</GetTasks>
</s:Body>
</s:Envelope>

XML - ответ:

<s:Envelope xmlns:s="http://schemas.xmlso...oap/envelope/">
- <s:Body>
- <GetTasksResponse xmlns="http://www.clicksoftware.com">
- <Tasks>
- <Task d3p1:type="Task" xmlns:d3p1="http://www.w3.org/20...hema-instance">
<Key>44977279</Key>
<Revision>13</Revision>
<Status Key="124155904" DisplayString="Запланирована">Запланирована</Status>
</Task>
</Tasks>
- <Assignments>
- <Assignment>
<Key>11874946</Key>
<Revision>10</Revision>
- <Task Key="44977279" DisplayString="">
<CallID />
<Number>0</Number>
</Task>
</Assignment>
</Assignments>
</GetTasksResponse>
</s:Body>
</s:Envelope>