Maitiro Ekutumira GirafuQL Mutation Chikumbiro muJMeter

Iyi posvo inotsanangura maitiro ekutumira iyo GraphQL Mutation chikumbiro uchishandisa JMeter.

Kana iwe uri kuyedza kuyedza chikumbiro icho chine GraphQL yakaturikidzana, saka unofanirwa kutumira GraphQL mibvunzo kumagumo.

GraphQL Kuchinja Kumbiro

Ngatifungei kuti tine chikumbiro chinoshanda pane zvemuno uye ne /graphql magumo. Mune ino application tinokwanisa kugadzira maodha.

URL: http://localhost:9040/graphql

GraphQL Kuchinja chikumbiro:

mutation createOrder ($order: OrderInput!) {
createOrder(order: $order) {
id,
name
} }

Mibvunzo Inoshanduka:

{
'order': {
'name': 'test-order'
} }

Kuti titumire iri pamusoro Graphgraph query tichishandisa JMeter, isu tinofanirwa kushandura iyo query kuita mbishi chikumbiro.

Mubvunzo uri pamusoro uye data richava

{
'query':'mutation createOrder ($order: OrderInput!) {
createOrder(order: $order) {

id,

name
}
}',
'variables':{
'order':{

'name':'test-amir'
}
} }

JMeter GraphQL Chikumbiro

MuJMeter, chikumbiro chedu chinoita senge: