当前位置:网站首页>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&#
边栏推荐
- Illustration leetcode - 3. longest substring without repeated characters (difficulty: medium)
- Kubernetes advanced part learning notes
- JMeter - interface test
- Redis source code -ziplist
- How to obtain the subordinate / annotation information of KEGG channel
- "Chain" connects infinite possibilities: digital asset chain, wonderful coming soon!
- Technology cloud report: more than zero trust, the wild hope of Parra's "Digital Security Cloud strategy"
- 毕业从事弱电3个月,我为什么会选择转行网络工程师
- Difference Between Accuracy and Precision
- 【高等数学】【1】函数、极限、连续
猜你喜欢

Do you still have certificates to participate in the open source community?

leetcode-6130:设计数字容器系统

How to obtain the subordinate / annotation information of KEGG channel

test

Kubernetes进阶部分学习笔记
![[today in history] June 29: SGI and MIPS merged; Microsoft acquires PowerPoint developer; News corporation sells MySpace](/img/86/abeb82927803712a98d2018421c3a7.png)
[today in history] June 29: SGI and MIPS merged; Microsoft acquires PowerPoint developer; News corporation sells MySpace
![Vulnhub | dc: 5 | [actual combat]](/img/c6/34117bbfb83ebdf9e619f4e4590661.png)
Vulnhub | dc: 5 | [actual combat]
![[onnx] export pytorch model to onnx format: support multi parameter and dynamic input](/img/bd/e9a1d3a2c9343b75dbae5c7e18a87b.png)
[onnx] export pytorch model to onnx format: support multi parameter and dynamic input

Clickhouse notes 02 -- installation test clickvisual

Socket error Event: 32 Error: 10053. Connection closing...Socket close
随机推荐
Formatdatetime explanation [easy to understand]
Link list of sword finger offer question bank summary (III) (C language version)
4everland storage node portal network design
QQ是32位还是64位软件(在哪看电脑是32位还是64位)
2022.7.24-----leetcode.1184
【单细胞高级绘图】07.KEGG富集结果展示
Proxy implements MySQL read / write separation
[tensorrt] dynamic batch reasoning
Online random coin tossing positive and negative statistical tool
ROS_ Rqt toolbox
Dataframe first performs grouping operation and then combines output
String of sword finger offer question bank summary (II) (C language version)
Open source SPL enhances mangodb computing
[today in history] June 28: musk was born; Microsoft launched office 365; The inventor of Chua's circuit was born
MySQL date [plus sign / +] condition filtering problem
Jmeter——接口测试
JMeter - interface test
JS scope and scope chain
Embedded development: embedded foundation -- threads and tasks
CarSim simulation quick start (XIV) - CarSim Simulink joint simulation