如何使用JMeter在OpenERP 7上创建/更新测试记录? [英] How to create / update test records on OpenERP 7, using JMeter?

查看:120
本文介绍了如何使用JMeter在OpenERP 7上创建/更新测试记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试测试我正在开发的OpenERP模块的负载响应.有了这个教程.

I'm trying to test the load response of an OpenERP module that I've been developing. I've managed to authenticate and read from my model(s) thanks to this tutorial.

我现在想测试现有记录的创建和更新,但是在任何地方都找不到执行此类操作的语法.我试图适应read方法,但无法弄清楚应该如何构建xml.
有没有人已经进行过这样的测试,愿意分享有关如何调用create和/或write方法的知识?

I'd like now test the creation and update of existing records, but I can't find anywhere the syntax to do such actions. I tried to adapt from the read method, but I'm not able to figure out how the xml is supposed to be built.
Is anyone that has already done such testing, willing to share knowledge about how to call the create and / or the write methods?

提前谢谢!

推荐答案

请参阅

Refer to OpenERP documentation on XML-RPC Web Services, it has examples on create and write actions.

如果您无法将其PHP示例转换为JMeter XML-RPC XML主体,则可以使用 SoapUI 生成存根.

If you won't be able to translate their PHP examples to JMeter XML-RPC XML body perhaps you can use SoapUI to generate stubs.

也值得研究使用JMeter测试SOAP/REST Web服务使用JMeter进行Web服务测试的通用方法指南.

It also worth looking into Testing SOAP/REST Web Services Using JMeter guide for generic approach of web services testing with JMeter.

这篇关于如何使用JMeter在OpenERP 7上创建/更新测试记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆