当前位置:网站首页>Remote—基本原理介绍
Remote—基本原理介绍
2022-07-25 20:36:00 【点点寒彬】
Remote—基本原理介绍
背景
我们日常写测试用例的时候,难免会有需要从服务器去获取数据的情况,RF框架本身是基于Python的一层封装,对于复杂的交互和编码并不友好,因此官方提供了一个Remote的方法来来帮助我们改善这个情况,可以像执行关键字一样执行后台的方法,便于我们简化复杂的调用。
Remote的原理
Remote的的原理实际上就是使用HTTP请求到一个后台服务,执行了后台服务的逻辑之后获取一个返回结果,实际上,自己去写一个HTTP服务然后解析返回值,跟使用Remote是一样的。
官方介绍的逻辑图是这样的。

它们的差异在于Remote使用的是XML-RPC,而我们一般的HTTP大多会使用JSON。
由于是基于HTTP协议进行通讯,因此这种方式就可以跨语言了,比如RobotFramework是基于Python的,可以很方便的调用Python的库,但是如果业务服务是Java,并且请求的时候需要做一些加密的逻辑,那么直接调用业务的加密方法是最好的,如果没有Remote&#
边栏推荐
- [advanced mathematics] [6] differential calculus of multivariate functions
- [today in history] July 1: the father of time-sharing system was born; Alipay launched barcode payment; The first TV advertisement in the world
- [today in history] July 13: the father of database passed away; Apple buys cups code; IBM chip Alliance
- Formatdatetime explanation [easy to understand]
- During the interview, I was asked how to remove the weight of MySQL, and who else wouldn't?
- Kubernetes advanced part learning notes
- Google guava is just a brother. What is the real king of caching? (glory Collection Edition)
- Behind every piece of information you collect, you can't live without TA
- Myormframeworkjdbc review and problem analysis of user-defined persistence layer framework, and thought analysis of user-defined persistence layer framework
- SecureCRT garbled code solution [easy to understand]
猜你喜欢
![[today in history] July 1: the father of time-sharing system was born; Alipay launched barcode payment; The first TV advertisement in the world](/img/41/76687ea13e1722654b235f2cfa66ce.png)
[today in history] July 1: the father of time-sharing system was born; Alipay launched barcode payment; The first TV advertisement in the world

JMeter - interface test

KEGG通路的从属/注释信息如何获取

leetcode-79:单词搜索

Working principle of radar water level gauge and precautions for installation and maintenance

从底层结构开始学习FPGA(16)----PLL/MMCM IP的定制与测试

If the order is not paid for 30 minutes, it will be automatically cancelled. How to achieve this? (Collection Edition)

Vivo official website app full model UI adaptation scheme

Google guava is just a brother. What is the real king of caching? (glory Collection Edition)

智能电子界桩自然保护区远程监控解决方案
随机推荐
Open source SPL enhances mangodb computing
[advanced mathematics] [4] indefinite integral
[today in history] July 4: the first e-book came out; The inventor of magnetic stripe card was born; Palm computer pioneer was born
[advanced mathematics] [5] definite integral and its application
[advanced mathematics] [1] function, limit, continuity
[tensorrt] trtexec tool to engine
FanoutExchange交换机代码教程
[today in history] July 3: ergonomic standards act; The birth of pioneers in the field of consumer electronics; Ubisoft releases uplay
CarSim simulation quick start (XIV) - CarSim Simulink joint simulation
Struct, enum type and union
[today in history] July 1: the father of time-sharing system was born; Alipay launched barcode payment; The first TV advertisement in the world
Mobile web layout method
[advanced mathematics] [8] differential equation
Illustration leetcode - 3. longest substring without repeated characters (difficulty: medium)
Clickhouse notes 02 -- installation test clickvisual
QML combines qsqltablemodel to dynamically load data MVC "recommended collection"
How to use buffer queue to realize high concurrent order business (glory Collection Edition)
Leetcode customs clearance: hash table six, this is really a little simple
[noi simulation] string matching (suffix automata Sam, Mo team, block)
什么是聚类分析?聚类分析方法的类别[通俗易懂]