This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Creator: k6 Browser Recorder 0.6.2 | |
import { sleep, group } from 'k6' | |
import http from 'k6/http' | |
import { Trend, Gauge, Counter, Rate } from 'k6/metrics' | |
const testTrend = new Trend('testTrend', true); | |
const testGauge = new Gauge('testGauge'); | |
const testCounter = new Counter('testCounter'); | |
const testRate = new Rate('testRate') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Creator: k6 Browser Recorder 0.6.2 | |
import { sleep, group } from 'k6' | |
import http from 'k6/http' | |
export const options = { | |
discardResponseBodies: true, | |
scenarios: { | |
test_scenario: { | |
// rate, timeUnitを実行するためのExecutor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Creator: k6 Browser Recorder 0.6.2 | |
import { sleep, group } from 'k6' | |
import http from 'k6/http' | |
export const options = { | |
discardResponseBodies: true, | |
scenarios: { | |
test_scenario: { | |
// rate, timeUnitを実行するためのExecutor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Creator: k6 Browser Recorder 0.6.2 | |
import { sleep, group } from 'k6' | |
import http from 'k6/http' | |
export const options = { | |
scenarios: { | |
test_scenario: { | |
// rate, timeUnitを実行するためのExecutor | |
executor: 'constant-arrival-rate', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Creator: k6 Browser Recorder 0.6.2 | |
import { sleep, group } from 'k6' | |
import http from 'k6/http' | |
export const options = { | |
vus: 10, | |
duration: '5m' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import http from 'k6/http'; | |
import { sleep } from 'k6'; | |
export default function () { | |
http.get('https://test.k6.io'); | |
sleep(1); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cy.intercept({ | |
url: '/g/collect*', | |
method: 'POST', | |
hostname: "analytics.google.com" | |
}).as('ga_req'); | |
cy.visit([テストしたいページのURL]); | |
cy.wait('@ga_req', {timeout: 30000}).its('response.statusCode').should('equal', 204); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
organization(login: "[オーガナイゼーション名]") { | |
projectV2(number: [プロジェクト番号]) { | |
id | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{process.env.DEPLOY_ENV === "production" && ( | |
<Script | |
id="rollbar" | |
strategy="afterInteractive" | |
dangerouslySetInnerHTML={{ | |
__html: ` | |
var _rollbarConfig = { | |
accessToken: "${process.env.ROLLBAR_CLIENT_ACCESS_TOKEN}", | |
captureUncaught: true, | |
captureUnhandledRejections: true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build: | |
docker: | |
- image: circleci/node:14 | |
steps: | |
- checkout | |
- setup_remote_docker: | |
version: 20.10.14 | |
docker_layer_caching: true | |
- run: | |
name: google authentication |
NewerOlder