Skip to content

Instantly share code, notes, and snippets.

View rajendrapenumalli's full-sized avatar
:octocat:
Comeon we can do anything

Rajendra Prasad Reddy Penumalli rajendrapenumalli

:octocat:
Comeon we can do anything
  • Bangalore
View GitHub Profile
@rajendrapenumalli
rajendrapenumalli / build.gradle
Created November 23, 2019 01:22 — forked from akhikhl/build.gradle
Simplest Gretty setup with Spring Boot
buildscript {
ext {
springBootVersion = '1.1.0.RELEASE'
}
repositories {
mavenLocal()
jcenter()
}
@rajendrapenumalli
rajendrapenumalli / nodejs-cheatsheet.js
Created November 7, 2019 18:44 — forked from LeCoupa/nodejs-cheatsheet.js
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
@rajendrapenumalli
rajendrapenumalli / bash-cheatsheet.sh
Created June 6, 2019 05:48 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@rajendrapenumalli
rajendrapenumalli / README.md
Created August 31, 2018 04:01 — forked from dnozay/_Jenkins+Script+Console.md
jenkins groovy scripts collection.
@rajendrapenumalli
rajendrapenumalli / README.md
Created August 31, 2018 04:01 — forked from dnozay/_Jenkins+Script+Console.md
jenkins groovy scripts collection.
@rajendrapenumalli
rajendrapenumalli / gist:8fab1e6c867153e92180f103391799f1
Last active February 9, 2018 08:06
Web Service Mocking Frameworks -Tools-Utilities-References
1. Mock-Server: http://www.mock-server.com/
2. SOAPUI Open Source
3. ServiceV Tool
4. Wiremock: http://wiremock.org/
5. Hoverfly: https://hoverfly.readthedocs.io/en/latest/pages/keyconcepts/keyconcepts.html
6. Mokito
7. Jmeter
@rajendrapenumalli
rajendrapenumalli / gist:479c64fbdb69a507f2dbcf572ee0df42
Created June 20, 2017 13:38
Adding HTTP Delete Request using Groovy In SOAPUI
import static com.eviware.soapui.impl.wsdl.teststeps.registry.HttpRequestStepFactory.HTTPREQUEST_TYPE
//Provide the http request endpoint in the below
def endpoint = 'http://google.com'
//Valid http method GET | PUT | POST | DELETE etc
def method = 'DELETE'
def stepName = 'httpRequestStep7'
def tc=testRunner.testCase
//Adds http request step to given test case assumes tc is valid object of TestCase
tc.addTestStep(HTTPREQUEST_TYPE , stepName, endpoint, method)
@rajendrapenumalli
rajendrapenumalli / gist:385cce81821ca78bcfbb5f89c5e66edf
Created June 20, 2017 13:33
Adding HTTP Get Request Via Groovy in SOAPUI
import static com.eviware.soapui.impl.wsdl.teststeps.registry.HttpRequestStepFactory.HTTPREQUEST_TYPE
//Provide the http request endpoint in the below
def endpoint = 'http://google.com'
//Valid http method GET | PUT | POST | DELETE etc
def method = 'POST'
def stepName = 'httpPostRequestStep'
def tc=testRunner.testCase.getTestStepByName(stepName).s
//Adds http request step to given test case assumes tc is valid object of TestCase
tc.addTestStep(HTTPREQUEST_TYPE , stepName, endpoint, method)
def ts = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss.SSS"); //Time Steamp Object
def randomString = System.currentTimeMillis() //Current Epouch object
@rajendrapenumalli
rajendrapenumalli / gist:500136f2f9c9920b1ae802ddc9783e49
Created June 17, 2017 06:44
Experiment the on testRunner.cancel,testRunner.fail
Create a three test suites
Each tetestSuite with three testcases:
Each Test Cases must have three groovy steps
Each Step has one string "I am in Step{1/2/3}"
Test Following
testRunner.cancel(arg0)
testRunner.fail(arg0)
testRunner.results
testRunner.status
testRunner.getReason()