#selenium
#bruno
#testng
#seleniumwebdriver
#seleniumjava
#webautomation
#postman
#java
#maven
#maventutorial
#karate
#restapi
#restapiautomation
#apitesting
#malayalam
#softwaretesting
#beginners
#മലയാളം
#TheTestingInstinct
#tutorials
#graphql
The video describes about use of variables in GraphQL API. Variables in GraphQL allow for dynamic input to queries and mutations. They help make mutations reusable and prevent vulnerabilities like injection attacks. In GraphQL, variables are specified alongside the query or mutation itself. They allow for dynamic values to be passed into queries, instead of hardcoded into them.
mutation CreatePost($title: String!, $views: Int!, $user_id: ID!) {
createPost(title: $title, views: $views, user_id: $user_id) {
id
title
views
user_id
}
}
In this example:
CreatePost is the name of the mutation.
$title, $views and $user_id are variables specified with their required types (String!,Int! and ID! denote them as required arguments).
Inside the mutation, the variables are used as parameters (title: $title, views: $views, user_id: $user_id).
The $ symbol indicates that the field is specified by a variable.
{
"title":"title1",
"views":1,
"user_id":"1"
}
Bruno latest version download link:https://www.usebruno.com/downloads
Github link:https://github.com/thetestinginstinct...
Video chapters:
0:00 Introduction - Using variables in GraphQL API
1:04 Demo Using variables in GraphQL API inside Bruno
Playlist link: • Bruno - REST API Testing in English | API ...
TestNG Playlist link: • TestNG | Testing Framework for Java Projec...
Maven setup video: • How to Install Maven in Windows OS. Tutori...
Software Testing playlist link: • Software Testing for Beginners| Malayalam
Selenium Java playlist link: • Selenium Java Tutorials in Malayalam | Sel...
Postman Playlist link: • Postman Rest API Testing | Become an exper...
Karate Playlist link: • Karate REST API Test Automation|REST API T...