|
Java example source code file (package-info.java)
The package-info.java Java example source code/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations * under the License. */ /** * This package is intended for use with testing against the Python * <a href="http://www.tavendo.de/autobahn/testsuite.html">AutoBahn test suite. * * Autobahn installation documentation can be found <a href="http://autobahn.ws/testsuite/installation">here. * * <h3>How to run the tests on Ubuntu. * * <p>01. Install python (if not already installed). * * <p>02. Install Python Setup Tools if not already * installed. <tt>sudo apt-get install python-setuptools * * <p>03. Add ppa:twisted-dev/ppa to your system's Software Sources * * <p>04. Install Twisted: sudo apt-get install python-twisted * * <p>05. Install AutoBahn: sudo easy_install autobahntestsuite. Test using wstest --help. * * <p>06. Create a directory for test configuration and results: mkdir autobahn cd autobahn. * * <p>07. Create fuzzing_clinet_spec.json in the above directory * {@code * { * "options": {"failByDrop": false}, * "outdir": "./reports/servers", * * "servers": [ * {"agent": "Netty4", * "url": "ws://localhost:9000", * "options": {"version": 18}} * ], * * "cases": ["*"], * "exclude-cases": [], * "exclude-agent-cases": {} * } * } * * <p>08. Run the AutobahnServer located in this package. If you are in Eclipse IDE, right click on * <tt>AutobahnServer.java and select Run As > Java Application. * * <p>09. Run the Autobahn test wstest -m fuzzingclient -s fuzzingclient.json. * * <p>10. See the results in ./reports/servers/index.html */ package io.netty.testsuite.websockets.autobahn; Other Java examples (source code examples)Here is a short list of links related to this Java package-info.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.