Skip to content

Instantly share code, notes, and snippets.

View manuelkiessling's full-sized avatar

Manuel Kießling manuelkiessling

View GitHub Profile
<!DOCTYPE html>
<html lang='de'>
<head>
<meta charset='utf-8'>
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
<title>Roombeats - Häufig gestellte Fragen</title>
<meta content='Roombeats - Häufig gestellte Fragen' name='description'>
<meta content='keyword1,keyword2,keyword3' name='keywords'>
<meta content='placeholder' name='author'>
@manuelkiessling
manuelkiessling / gist:b1dfae26d9b665321185
Last active August 29, 2015 14:23
Thoughts and questions about JourneyMonitor Analytics architecture re Cassandra/Spark

JourneyMonitor (see https://github.com/journeymonitor and http://journeymonitor.com/) allows users to upload a Selenium test script and have this script run regularly in a headless Firefox.

The service notifies the user if the script run failed, and additionally collects HAR data for each run, like this one: http://codebeautify.org/jsonviewer/c6b9d9

Next, we would like to provide the user with more info regarding the collected HAR-based performance metrics. For each testcase, we would like to present a summary like this:

  • Average overall load time of pages
  • Average load time of all CSS assets (or JS assets or image assets etc.)
  • Average number of 404s when requesting assets
insert into statistics (testcase_id, day_bucket, testresult_id, testresult_datetime_run, number_of_200) values ('a', '2016-02-17', 'a3', '2016-02-17 18:18:31+0000', 15);
@manuelkiessling
manuelkiessling / generate-assets-manifest.php
Created December 21, 2017 12:23
Generate manifest.json file with hashes of all asset files in a folder, recursively
#!/usr/bin/env php
<?php
$path = realpath(__DIR__ . '/../web/assets');
$obsoletePrefix = realpath(__DIR__ . '/../web/') . '/';
$objects = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path, FilesystemIterator::KEY_AS_PATHNAME | RecursiveDirectoryIterator::FOLLOW_SYMLINKS));
$hashes = [];
import { Selector } from 'testcafe';
fixture `Getting Started`
.page `http://devexpress.github.io/testcafe/example`;
test('My first test', async t => {
await t
.typeText('#developer-name', 'John Smith')
.click('#submit-button');
});
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7.3.0",
"ext-bcmath": "*",
"ext-curl": "*",
"ext-json": "*",
"ext-pcntl": "*",
"ext-sockets": "*",
"ext-zlib": "*",