Execute K6 command through front end

Hello,

I want to make a front-end page, input the pressure measurement parameters, click execute, and execute K6 pressure measurement in Linux. Is there any way to do this?

I am not sure I understand what you want to achieve, but the test builder in our k6 cloud offering seems to fit your requirements: https://k6.io/docs/test-authoring/test-builder/

Even without a paid account, you could still use it to build the test and just copy the resulting script and execute it locally with k6 OSS.