51Testing软件测试论坛
标题:
web service并发报错
[打印本页]
作者:
yanleibiao
时间:
2012-7-2 11:37
标题:
web service并发报错
Action.c(8): Error: Web service call "process_101" execution failed
Action.c(8): Error: InvokeMethod failure: 外部组件发生异常。.
Action.c(8): Error: ExtractResultArg failure: 外部组件发生异常。.
报错当不影响场景的继续...
Action()
{
lr_rendezvous("山东");
lr_start_transaction("山东应付发票");
web_service_call( "StepName=process_101",
"SOAPMethod=SB_EBS_AP_ImportAPInvoiceInfoSrv|SB_EBS_AP_ImportAPInvoiceInfoSrvPort|process",
"ResponseParam=response",
"Service=SB_EBS_AP_ImportAPInvoiceInfoSrv",
"ExpectedResponse=SoapResult",
"Snapshot=t1341194769.inf",
BEGIN_ARGUMENTS,
"xml:SB_EBS_AP_ImportAPInvoiceInfoSrvRequest="
"<SB_EBS_AP_ImportAPInvoiceInfoSrvRequest>"
"<MsgHeader>"
"<SOURCE_SYSTEM_ID>EAS</SOURCE_SYSTEM_ID>"
"<SOURCE_SYSTEM_NAME>EAS</SOURCE_SYSTEM_NAME>"
"<USER_ID>EAS</USER_ID>"
"<USER_NAME>EAS</USER_NAME>"
"<SUBMIT_DATE nil=\"true\"></SUBMIT_DATE>"
"<PAGE_SIZE>1000</PAGE_SIZE>"
"<CURRENT_PAGE>1</CURRENT_PAGE>"
"<TOTAL_RECORD>1</TOTAL_RECORD>"
"<PROVINCE_CODE>1</PROVINCE_CODE>"
"<ENVIRONMENT_NAME nil=\"true\"></ENVIRONMENT_NAME>"
"</MsgHeader>"
"<SB_EBS_AP_ImportAPInvoiceInfoSrvInputCollection>"
"<SB_EBS_AP_ImportAPInvoiceInfoSrvInputItem>"
"<PROVINCE_CODE>37</PROVINCE_CODE>"
"<PRI_KEY>37010112062610305100</PRI_KEY>"
"<BATCH_NAME>1233011yan{BATCH_NAME}</BATCH_NAME>"
"<ORG_NAME>123701_OU_运营公司山东省本部</ORG_NAME>"
"<INVOICE_NUM>11yan{INVOICE_NUM}</INVOICE_NUM>"
"<INVOICES_TYPE_LOOKUP_CODE>STANDARD</INVOICES_TYPE_LOOKUP_CODE>"
"<VENDOR_NUMBER>100001707</VENDOR_NUMBER>"
"<VENDOR_NAME>华为技术有限公司</VENDOR_NAME>"
"<VENDOR_SITE_CODE>修理运行维护费</VENDOR_SITE_CODE>"
"<INVOICE_DATE>2012-06-25T08:00:00.457+08:00</INVOICE_DATE>"
"<GL_DATE>2012-05-25T08:00:00.000+08:00</GL_DATE>"
"<INVOICE_CURRENCY_CODE>CNY</INVOICE_CURRENCY_CODE>"
"<EXCHANGE_RATE_TYPE nil=\"true\"></EXCHANGE_RATE_TYPE>"
"<EXCHANGE_DATE nil=\"true\"></EXCHANGE_DATE>"
"<EXCHANGE_RATE nil=\"true\"></EXCHANGE_RATE>"
"<PAYMENT_METHOD_LOOKUP_CODE>EFT</PAYMENT_METHOD_LOOKUP_CODE>"
"<PAY_GROUP_LOOKUP_CODE nil=\"true\"></PAY_GROUP_LOOKUP_CODE>"
"<TERMS_DATE nil=\"true\"></TERMS_DATE>"
"<INVOICE_AMOUNT>369369.00</INVOICE_AMOUNT>"
"<OTHER_INVOICE_AMOUNT nil=\"true\"></OTHER_INVOICE_AMOUNT>"
"<DESCRIPTION>信息化部孙复君报物业管理费</DESCRIPTION>"
"<SEGMENT1>123701</SEGMENT1>"
"<SEGMENT2>0</SEGMENT2>"
"<SEGMENT3>00</SEGMENT3>"
"<SEGMENT4>21210201040101</SEGMENT4>"
"<SEGMENT5>0</SEGMENT5>"
"<SEGMENT6>0</SEGMENT6>"
"<SEGMENT7>0</SEGMENT7>"
"<SEGMENT8>0</SEGMENT8>"
"<SEGMENT9>0</SEGMENT9>"
"<ACCTS_PAY_CODE_COMBINATION_ID nil=\"true\"></ACCTS_PAY_CODE_COMBINATION_ID>"
"<ACCESSORIES_SHEETS>2</ACCESSORIES_SHEETS>"
"<EAS_RECEIPT_NUMBER>37010112062610305100</EAS_RECEIPT_NUMBER>"
"<CENTER_PAY_FLAG nil=\"true\"></CENTER_PAY_FLAG>"
"<CONTRACT_NUMBER nil=\"true\"></CONTRACT_NUMBER>"
"<PAYMENT_BILL_FLAG nil=\"true\"></PAYMENT_BILL_FLAG>"
"<FLEX_VALUE>123701</FLEX_VALUE>"
"<RESERVED_1>1</RESERVED_1>"
"<RESERVED_2 nil=\"true\"></RESERVED_2>"
"<RESERVED_3 nil=\"true\"></RESERVED_3>"
"<RESERVED_4>EAS</RESERVED_4>"
"<RESERVED_5>37</RESERVED_5>"
"<RESERVED_6 nil=\"true\"></RESERVED_6>"
"<RESERVED_7 nil=\"true\"></RESERVED_7>"
"<RESERVED_8>1013767669</RESERVED_8>"
"<EMPLOYEE_NUMBER>0683319</EMPLOYEE_NUMBER>"
"<AP_INVOICE_LINES_INFO>"
"<APInvoiceLinesInfoItem>"
"<PRI_KEY>370101120626103051000001</PRI_KEY>"
"<ORG_NAME>123701_OU_运营公司山东省本部</ORG_NAME>"
"<VENDOR_NUMBER>100001707</VENDOR_NUMBER>"
"<VENDOR_NAME>华为技术有限公司</VENDOR_NAME>"
"<INVOICE_NUM>11yan{INVOICE_NUM1}</INVOICE_NUM>"
"<LINE_NUM>1</LINE_NUM>"
"<ASSETS_BOOKS nil=\"true\"></ASSETS_BOOKS>"
"<SEGMENT1>123701</SEGMENT1>"
"<SEGMENT2>1237010112</SEGMENT2>"
"<SEGMENT3>21</SEGMENT3>"
"<SEGMENT4>54010715010101</SEGMENT4>"
"<SEGMENT5>0</SEGMENT5>"
"<SEGMENT6>0</SEGMENT6>"
"<SEGMENT7>00</SEGMENT7>"
"<SEGMENT8>0</SEGMENT8>"
"<SEGMENT9>0</SEGMENT9>"
"<LINE_TYPE_LOOKUP_CODE>ITEM</LINE_TYPE_LOOKUP_CODE>"
"<AMOUNT>369369.00</AMOUNT>"
"<TAX_CODE nil=\"true\"></TAX_CODE>"
"<DESCRIPTION>营山东分公司本部信息化部孙复君报网络用物业管理费</DESCRIPTION>"
"<PROJECT_NUM nil=\"true\"></PROJECT_NUM>"
"<TASK_NUM nil=\"true\"></TASK_NUM>"
"<EXPENDITURE_TYPE nil=\"true\"></EXPENDITURE_TYPE>"
"<EXPENDITURE_ORG_NAME nil=\"true\"></EXPENDITURE_ORG_NAME>"
"<EXPENDITURE_DATE nil=\"true\"></EXPENDITURE_DATE>"
"<MATCH_OPTION>N</MATCH_OPTION>"
"<PO_NUMBER>C-BJ-12E00288-00001</PO_NUMBER>"
"<PO_LINE_NUMBER>1</PO_LINE_NUMBER>"
"<PO_SHIPMENT_NUM>1</PO_SHIPMENT_NUM>"
"<PO_DISTRIBUTION_NUM>1</PO_DISTRIBUTION_NUM>"
"<RECEIPT_NUMBER>12110110000712</RECEIPT_NUMBER>"
"<RECEIPT_LINE_NUM>1</RECEIPT_LINE_NUM>"
"<QUANTITY_INVOICED>8.0000000000000000000000</QUANTITY_INVOICED>"
"<RESERVED_1>1233011yan{BATCH_NAME1}</RESERVED_1>"
"<RESERVED_2>3039901_市场经营.市场经营线其他-默认</RESERVED_2>"
"<RESERVED_3 nil=\"true\"></RESERVED_3>"
"<RESERVED_4 nil=\"true\"></RESERVED_4>"
"<RESERVED_5>37</RESERVED_5>"
"<RESERVED_6 nil=\"true\"></RESERVED_6>"
"<RESERVED_7 nil=\"true\"></RESERVED_7>"
"<RESERVED_8>1013767669</RESERVED_8>"
"</APInvoiceLinesInfoItem>"
"</AP_INVOICE_LINES_INFO>"
"<AP_PREPAY_INVOICE_LINES_INFO nil=\"true\"/>"
"</SB_EBS_AP_ImportAPInvoiceInfoSrvInputItem>"
"</SB_EBS_AP_ImportAPInvoiceInfoSrvInputCollection>"
"</SB_EBS_AP_ImportAPInvoiceInfoSrvRequest>",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);
lr_end_transaction("山东应付发票", LR_AUTO);
return 0;
}
复制代码
作者:
yanleibiao
时间:
2012-7-5 09:41
回复
1#
yanleibiao
没人回答么....
作者:
june.diny
时间:
2012-7-5 10:50
试试soapUI吧
之前碰到一个问题 一个查询接口,脚本很简单,就一个请求而已。。同样的参数设置,用VUGen运行就报错,soapUI就ok,一直就没找到原因
作者:
yanleibiao
时间:
2012-7-5 18:12
我是需要跑性能....
你是用UI跑的并发?
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2