Skip to content

Instantly share code, notes, and snippets.

View RunscopeToGoogleChat_RunscopeImport.json
{
"name": "Create EventN Service - Runscope to Google Chat",
"version": "1.0",
"exported_at": 1542227101,
"steps": [
{
"body": "{\"email\":\"{{email}}\",\"password\":\"{{password}}\"}",
"skipped": false,
"form": {},
"url": "https://api.eventn.com/authentication",
View RunscopeToGoogleChat
const rp = require('request-promise');
function onPost(context, request) {
const {test_name, test_url, test_run_url, result, environment_name, region, region_name, requests, variables} = request.payload;
let my_test_name = test_name;
View runscopeBatchTrigger.gs
function triggerTests() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheets()[0];
sheet.getRange(6, 2, 3, 10).clearContent();
//get the Test Trigger ID
var testIdRange = sheet.getRange(1,2);
var testId = testIdRange.getValue();
var url = 'https://api.runscope.com/radar/' + testId + '/batch';
You can’t perform that action at this time.