I am using this https://jslib.k6.io/k6-utils/1.2.0/index.js library in k6 script for handling dynamic values , it is getting the data between the tags like " K6 " but it is not if the value to be obtained is within a tag like

<a href="/actions/Catalog.action;jsessionid=61F892817157A236F8763D9FF817FDEA?viewCategory=&categoryId=FISH">

i want to dynamically handle the FISH , but getting an error type of cannot read property "indexof" enter image description here

Here is the function from the about link enter image description here

New contributor
Saad Ali is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.


Your Answer

Saad Ali is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy