Skip to content

amommersteeg-d2l/k6-jslib-formdata

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k6-jslib-formdata

FormData implements polyfill for k6.

This simplifies the creation of multipart/form-data requests from k6 scripts. It was adapted from the original version by Rob Wu to remove references of XMLHttpRequest and File related code which isn't supported in k6.

Usage

import { FormData } from 'https://jslib.k6.io/formdata/0.0.2/index.js';

See the k6 documentation website for more details on how to use the FormData object.

About

FormData polyfill for k6

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%