解决了

我怎么覆盖詹金斯人口使用云LGs的场景吗?

  • 2023年7月7日
  • 1回复
  • 4的观点

Userlevel 5
徽章 + 2
  • 社区经理
  • 72回复

你好,

我将与詹金斯Neoload项目,我有问题覆盖LGs分配给我的场景。我有两个数量,我想让他们在不同的云LGs运行。当我运行构建,我得到这些:

图像

下面是詹金斯的命令行我用:

-nlweb -nlwebAPIURL https://neoload-api.saas.neotys.com -nlwebToken <标记> -nlwebWorkspace <工作> -NCPLogin <标记> LG1 - l Population1 =”。txt LG2.txt“- l Population2 =

下面是LG1的内容。txt文件:

host1@eu-west-14

下面是LG2的内容。txt文件:

host1@eu-west-13

(最初要求和解决支持中心)

图标

最佳答案社区管理员2023年7月7日15:46

Hello, the -L option is not suitable for NeoLoad Cloud platform but only for on-premise load generators. If you would like to start your test from command line using Cloud load generators you need to create a yaml file like this one below:<\/p>

infrastructures:
- name: My Cloud infrastructure
type: NEOTYS_CLOUD_LOAD_GENERATOR
workgroup: \"YOUR CLOUD WORKGROUP NAME\"
architecture: MEDIUM
duration: 1h
zones:
- id: eu-west-5
count: 1<\/p>

\u00a0<\/p>

In that example one medium LG will be started in eu-west-5 zone. Be careful the format has not been kept so you may have to indent the content properly to avoid any yaml syntax error.<\/p>","className":"post__content__best_answer"}">

查看原始

1回复

Userlevel 3
徽章 + 2

你好,- l选项是不适合NeoLoad云平台只有本地负载生成器。如果你想从命令行开始测试使用云负载生成器需要创建这样的yaml文件如下:

基础设施:
——名称:我的云基础设施
类型:NEOTYS_CLOUD_LOAD_GENERATOR
工作组:“云工作组名称”
架构:中等
持续时间:1小时
区域:
- id: eu-west-5
数:1

在这个例子中LG将开始在eu-west-5区。小心的格式没有保持如此您可能必须缩进内容正确,以避免任何yaml语法错误。

回复


Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu
map