I was having aproblem to clone hosts since I upgratded to 6.4.5 and found out was was causing it:
I did some advanced troubleshooting and I think I have discovered a bug.
If someone can test this scenario with 6.4.5 on Linux, I would appreciate. Than I can submit the bug. It was working with 6.4.3.
It has to do with applying a custom template to a host.
Steps: (I tested from a freshly installed version with no data).
Note: If I ceate this web scenatio and item directly in the host, everything works.
Thanks !
I did some advanced troubleshooting and I think I have discovered a bug.
If someone can test this scenario with 6.4.5 on Linux, I would appreciate. Than I can submit the bug. It was working with 6.4.3.
It has to do with applying a custom template to a host.
Steps: (I tested from a freshly installed version with no data).
- create a new host (nothing special)
- Create a new template
- In that template, create a Web scenario
- In this scenario add a step (iURL: www.google.com, Follow redirects: ON, Required status Code: 200)
- In this scenario, create a dependant Item: (Type: Dependant Item, Master Item: Response Code for step "your step" of scenario "your scenario")
- In this scenario item, create a Preprocessing: (Name: JavaSript, Parameters: return value == 200 ? "Good" : "Bad" ; )
- In host, add this new template
Note: If I ceate this web scenatio and item directly in the host, everything works.
Thanks !