This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Artillery Report Generation</title> | |
</head> | |
<body> | |
<h1>ARTILLERY REPORT GENERATION</h1> | |
<p>Click the button to run the test and generate the report!!</p> | |
<button>RUN</button> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require("express"); | |
const bodyParser = require("body-parser"); | |
const app = express(); | |
const {exec} = require('child_process'); | |
var data1; | |
var FetchStream = require("fetch").FetchStream; | |
const { spawn } = require("child_process"); | |
app.use(express.static('public')); | |
app.use(bodyParser.urlencoded({ extended: true })); | |
app.set('view engine','ejs') |