Hi,
I have Angular application and I have written following k6 code for get response.
let response = http.get(link)
console.log('registration page status: ', response .status) ==> getting returns 200
console.log('registration page response: ', response .body)
response .body I am getting only
"<app-root></app-root>
"
instead of all html like submit button, text etc.
<!DOCTYPE html>
<html lang="en">)
<head>s
<meta charset="utf-8" />
<title>Patient Portal Access</title>
<base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
</head>
<body>
<app-root></app-root>
<script src="runtime.js" defer></script><script src="polyfills-es5.js" nomodule defer></script><script src="polyfills.js" defer></script><script src="styles.js" defer></script><script src="scripts.js" defer></script><script src="main.js" defer></script>
</body>
</html>
Any one can help me to resolve this issue.