The embodiment of the invention discloses a system joint debugging test processing method and device, the method includes: when the internal system is first docked with the target system, obtaining the real data of the target system, and constructing the virtual object of the target system according to the real data; when the internal system is in joint debugging test with the target system, if the target system is judged If no test environment docking is provided, the docking between the internal system and the virtual object shall be established; after judging that the internal system and the virtual object are successfully docked, the joint debugging test shall be conducted with the virtual object. The embodiment of the invention constructs the virtual object of the target system, when the target system does not provide a test environment, it interfaces with the virtual object and conducts joint debugging test, so as to avoid various problems after the new function goes online due to the target system's non cooperation, at the same time, the internal system does not need to rely on the external target system for joint debugging test, and the test progress and cost are more controllable.
【技术实现步骤摘要】
一种系统联调测试处理方法及装置
本专利技术涉及计算机
,具体涉及一种系统联调测试处理方法及装置。
技术介绍
在进行系统联调测试之前,需要保证当前的内部系统与另一系统完成对接后,才能正常进行系统联调测试。但是在很多情况下,内部系统需要不断进行功能升级,在功能升级之后,为了保证新功能的正常使用,必须与相关的系统进行系统联调测试。然而,对于部分系统的敏感性,或者部分系统属于外部系统,往往无法配合当前的内部系统进行系统联调测试。例如,内部系统与银行系统对接时,第一次对接的时候银行会有人员配合,提供测试环境和线上验证。但是,第一次对接完毕后,如果内部系统有新功能需要上线,就会遇到无法测试验证的问题,因为没有测试环境,现有技术采用根据接口文档来进行代码逻辑处理。但是接口文档中无法体现的问题无法提早发现,比如:异常问题,抗压能力,甚至有一些开发任务失误导致的逻辑漏洞,最终导致功能无法正常上线,即使强制上线也会在线上暴露很多问题。
技术实现思路
由于现有方法存在上述问题,本专利技术实施例提出一种系统 ...
【技术保护点】
1.一种系统联调测试处理方法,其特征在于,包括:/n在内部系统首次与目标系统进行对接时,获取所述目标系统的真实数据,并根据所述真实数据构建所述目标系统的虚拟对象;/n在所述内部系统与所述目标系统进行联调测试时,若判断所述目标系统不提供测试环境对接,则建立所述内部系统与所述虚拟对象的对接;/n判断所述内部系统与所述虚拟对象对接成功后,与所述虚拟对象进行联调测试。/n
【技术特征摘要】
1.一种系统联调测试处理方法,其特征在于,包括:
在内部系统首次与目标系统进行对接时,获取所述目标系统的真实数据,并根据所述真实数据构建所述目标系统的虚拟对象;
在所述内部系统与所述目标系统进行联调测试时,若判断所述目标系统不提供测试环境对接,则建立所述内部系统与所述虚拟对象的对接;
判断所述内部系统与所述虚拟对象对接成功后,与所述虚拟对象进行联调测试。
2.根据权利要求1所述的系统联调测试处理方法,其特征在于,所述虚拟对象为mock对象,所述mock对象独立于所述内部系统。
3.根据权利要求1所述的系统联调测试处理方法,其特征在于,所述在内部系统首次与目标系统进行对接时,获取所述目标系统的真实数据,并根据所述真实数据构建所述目标系统的虚拟对象之后,还包括:
收集所述目标系统全部的参数和返回值的对接关系,根据所述对接关系完善所述虚拟对象的逻辑,所述对接关系包括所有异常情况。
4.根据权利要求1所述的系统联调测试处理方法,其特征在于,所述在所述内部系统与所述目标系统进行联调测试时,若判断所述目标系统不提供测试环境对接,则建立所述内部系统与所述虚拟对象的对接,具体包括:
在所述内部系统与所述目标系统进行联调测试时,若根据目标标识确定所述目标系统不提供测试环境对接,则建立所述内部系统与所述虚拟对象的对接。
5.根据权利要求1-4任一项所述的系统联调测试处理方法,其特征在于,所述系统联调测试处理方法还包括:
在所述内部系统与所述目标系统进行联调测...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。