简体   繁体   English

使用 Gatling 进行 Guidewire 批处理作业

[英]Guidewire batch job processing using Gatling

How can I run the Guidewire batch job scenarios using Gatling.如何使用 Gatling 运行 Guidewire 批处理作业场景。 Mainly want to create a scala script to run the batch job in gatling主要是想创建一个 scala 脚本来运行 gatling 中的批处理作业

In webservice catalogue of your center check the MaintenanceToolsAPI, there are few exposed operations:在你中心的webservice目录下查看MaintenanceToolsAPI,暴露的操作很少:

  • getValidBatchProcessNames - will give you batch process names getValidBatchProcessNames - 将为您提供批处理名称
  • startBatchProcess - for batch process without arguments startBatchProcess - 用于没有 arguments 的批处理
  • startBatchProcessWithArguments - for running batch process with arguments startBatchProcessWithArguments - 用于使用 arguments 运行批处理

Guidewire also did a batchrunner accelerator where they use this API and expose something a bit more consistent/usable this is available in marketplace. Guidewire 还做了一个 batchrunner 加速器,他们使用这个 API 并公开了一些更一致/可用的东西,这在市场上可用。

In the end you should be fine with just calling the MaintenanceToolsAPI SOAP webservice from your scala scripts.最后,您只需从 scala 脚本调用 MaintenanceToolsAPI SOAP 网络服务就可以了。 What you will probably have to figure is the polling for the state of batch process, which is main feature of batchrunner accelerator.您可能需要考虑的是批处理过程中对 state 的轮询,这是 batchrunner 加速器的主要功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM