Hi,when we test API with JMeter, we can extract some parameters of API response data through the regular extractor, and then write beanshell script to save the data to CSV file. I want to know how to write datas to CSV and save it to local disk using K6?
Writing to a file is not supported by k6 core, but it should be doable with xk6-file.
hi tom, how to use xk6-file?Does it need to pre-install with someting?I’ve done step1 and step2,but the program still have error(ERRO[0000] unknown module: k6/x/file)
Did you also perform step 3, which is to use the newly-installex xk6 to build a version of the k6 binary with the xk6-file extension?