v1
6/12/2020 by Lamik 6/12/202000
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
let url = "http://example.com/index.html?par=1&anotherParam=2".repeat(20000); // 1M char
delete caserun single casemove downdrag and drop case


ready



escape(url);
delete caserun single casemove upmove downdrag and drop case


ready



encodeURI(url);
delete caserun single casemove upmove downdrag and drop case


ready



encodeURIComponent(url);
delete caserun single casemove upmove downdrag and drop case


ready



new URLSearchParams({url}).toString();
delete caserun single casemove upmove downdrag and drop case


ready



encodeURIComponent(url).replace(/[!'()]/g, escape).replace(/\*/g, "%2A");
delete caserun single casemove updrag and drop case


ready



encodeURIComponent(url).replace(/[!'()*]/g, function(c) {
  return '%' + c.charCodeAt(0).toString(16);
});
Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running
RUN