You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the "Generate config" for Terraform in the plugin, the scripted checks don't get generated correctly. The scripted field is just an empty object and not the script itself.
import { check } from 'k6'
import http from 'k6/http'
export default function main() {
const res = http.get('http://test.k6.io/');
// console.log will be represented as logs in Loki
console.log('got a reponse')
check(res, {
'is status 200': (r) => r.status === 200,
});
}
Completion criteria
Please ensure the correct scripted value is being passed here that is compatible with our terraform provider.
The text was updated successfully, but these errors were encountered:
Problem
When using the "Generate config" for Terraform in the plugin, the scripted checks don't get generated correctly. The scripted field is just an empty object and not the script itself.
Whereas the script I have for this script is:
Completion criteria
Please ensure the correct
scripted
value is being passed here that is compatible with our terraform provider.The text was updated successfully, but these errors were encountered: