Ungasithumela njani isicelo seGrafu ye-JS kwiJMeter

Esi sithuba sicacisa ukuba ungasithumela njani isicelo seGrafQL yokuGuqulwa usebenzisa iJMeter.

Ukuba uvavanya ukusebenza kwesicelo esinohlu lweGraphQL, kuya kufuneka uthumele imibuzo yeGraphQL kwindawo yokugqibela.



IGrafQL Isicelo sokuGuquka

Masicinge ukuba sinesicelo esisebenza kwindawo kwaye | | + _ | | isiphelo. Kwesi sicelo siyakwazi ukwenza iiodolo.


/graphql

IGrafQL Isicelo sokutshintsha:

URL: http://localhost:9040/graphql

Izinto eziguquguqukayo zombuzo:


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

Ukuthumela lo mbuzo ungasentla weGrafQL usebenzisa iJMeter, kufuneka siguqule umbuzo ube sisicelo esiluhlaza.

Umbuzo ongentla kunye nedatha iya kuba

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


Isicelo seJMeter GraphQL

KwiJMeter, isicelo sethu siza kujongeka ngathi: