Skip to content

Instantly share code, notes, and snippets.

k6 run -e USERNAME={username} -e PASSWORD={password} --vus 16 --duration 1h script_name.js
@Shugyousha
Shugyousha / k6_script.js
Created August 8, 2022 09:09
k6 script
import http from 'k6/http';
import { sleep } from 'k6'
export default function () {
const url = 'https://keycloak.company.com/auth/realms/company/protocol/openid-connect/token'
let payload = {
grant_type: 'password',
client_id: 'someid',
client_secret: 'tobefilledin',
username: __ENV.USERNAME,

Keybase proof

I hereby claim:

  • I am shugyousha on github.
  • I am shugyousha (https://keybase.io/shugyousha) on keybase.
  • I have a public key ASBljut2WgTdHvx8qn5gFG6mCyoeMwFslAtp-HjI4fgwOAo

To claim this, I am signing this object:

/home/silvan/build/neovim-gh/src/memline.c: In function ‘ml_find_line’:
/home/silvan/build/neovim-gh/src/memline.c:3194:5: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
pp = (PTR_BL *)(dp); /* must be pointer block */
^
/home/silvan/build/neovim-gh/src/memline.c: In function ‘ml_find_line’:
/home/silvan/build/neovim-gh/src/memline.c:3194:5: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
pp = (PTR_BL *)(dp); /* must be pointer block */
^
/home/silvan/build/neovim-gh/src/memfile.c: In function ‘mf_ins_hash’:
/home/silvan/build/neovim-gh/src/memfile.c:609:3: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
diff --git a/src/eval.c b/src/eval.c
index 2c002c2..882d5a1 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -261,8 +261,7 @@ struct funccall_S {
int returned; /* ":return" used */
struct /* fixed variables for arguments */
{
- dictitem_T var; /* variable (without room for name) */
- char_u room[VAR_SHORT_LEN]; /* room for the name */