|
|
|
@ -1,397 +1,394 @@
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<title>Bench4Q</title>
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
<meta name="description" content="Bench4Q, a new method for QOS benchmarking.">
|
|
|
|
|
<meta name="author" content="Kai Ren">
|
|
|
|
|
<!-- The styles -->
|
|
|
|
|
<link id="bs-css" href="css/bootstrap-cerulean.css" rel="stylesheet">
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
body {
|
|
|
|
|
padding-bottom: 40px;
|
|
|
|
|
}
|
|
|
|
|
.sidebar-nav {
|
|
|
|
|
padding: 9px 0;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<link href="css/bootstrap-responsive.css" rel="stylesheet">
|
|
|
|
|
<link href="css/charisma-app.css" rel="stylesheet">
|
|
|
|
|
<link href="css/jquery-ui-1.8.21.custom.css" rel="stylesheet">
|
|
|
|
|
<link href='css/fullcalendar.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/fullcalendar.print.css' rel='stylesheet' media='print'>
|
|
|
|
|
<link href='css/chosen.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/uniform.default.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/colorbox.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/jquery.cleditor.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/jquery.noty.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/noty_theme_default.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/elfinder.min.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/elfinder.theme.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/jquery.iphone.toggle.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/opa-icons.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/uploadify.css' rel='stylesheet'>
|
|
|
|
|
|
|
|
|
|
<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
|
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
|
|
|
<![endif]-->
|
|
|
|
|
|
|
|
|
|
<!-- The fav icon -->
|
|
|
|
|
<link rel="shortcut icon" href="img/bench4q-1.ico">
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
<!-- topbar starts -->
|
|
|
|
|
<div class="navbar">
|
|
|
|
|
<div class="navbar-inner">
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
|
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
|
</a>
|
|
|
|
|
<a class="brand" href="index.jsp"> <img alt="Charisma Logo" src="img/bench4q-1.png" /> <span>Bench4Q</span></a>
|
|
|
|
|
|
|
|
|
|
<!-- theme selector starts -->
|
|
|
|
|
<div class="btn-group pull-right theme-container" >
|
|
|
|
|
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
|
|
|
|
|
<i class="icon-tint"></i><span class="hidden-phone"> Change Theme / Skin</span>
|
|
|
|
|
<span class="caret"></span>
|
|
|
|
|
</a>
|
|
|
|
|
<ul class="dropdown-menu" id="themes">
|
|
|
|
|
<li><a data-value="classic" href="#"><i class="icon-blank"></i> Classic</a></li>
|
|
|
|
|
<li><a data-value="cerulean" href="#"><i class="icon-blank"></i> Cerulean</a></li>
|
|
|
|
|
<li><a data-value="cyborg" href="#"><i class="icon-blank"></i> Cyborg</a></li>
|
|
|
|
|
<li><a data-value="redy" href="#"><i class="icon-blank"></i> Redy</a></li>
|
|
|
|
|
<li><a data-value="journal" href="#"><i class="icon-blank"></i> Journal</a></li>
|
|
|
|
|
<li><a data-value="simplex" href="#"><i class="icon-blank"></i> Simplex</a></li>
|
|
|
|
|
<li><a data-value="slate" href="#"><i class="icon-blank"></i> Slate</a></li>
|
|
|
|
|
<li><a data-value="spacelab" href="#"><i class="icon-blank"></i> Spacelab</a></li>
|
|
|
|
|
<li><a data-value="united" href="#"><i class="icon-blank"></i> United</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- theme selector ends -->
|
|
|
|
|
|
|
|
|
|
<!-- user dropdown starts -->
|
|
|
|
|
<div class="btn-group pull-right" >
|
|
|
|
|
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
|
|
|
|
|
<i class="icon-user"></i><span class="hidden-phone"> <%=session.getAttribute("username")%></span>
|
|
|
|
|
<span class="caret"></span>
|
|
|
|
|
</a>
|
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
|
<li><a href="#">Profile</a></li>
|
|
|
|
|
<li class="divider"></li>
|
|
|
|
|
<li><a href="login.html">Logout</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- user dropdown ends -->
|
|
|
|
|
|
|
|
|
|
<div class="top-nav nav-collapse">
|
|
|
|
|
<ul class="nav">
|
|
|
|
|
<li><a href="#">Welcome Page</a></li>
|
|
|
|
|
<li><a href="index.jsp">Home Page</a></li>
|
|
|
|
|
<li><a href="register.jsp">Register</a></li>
|
|
|
|
|
<li><a href="userlogin.jsp">Login</a></li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
</div><!--/.nav-collapse -->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- topbar ends -->
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
|
|
|
|
|
<!-- left menu starts -->
|
|
|
|
|
|
|
|
|
|
<!-- left menu ends -->
|
|
|
|
|
|
|
|
|
|
<noscript>
|
|
|
|
|
<div class="alert alert-block span10 center">
|
|
|
|
|
<h4 class="alert-heading">Warning!</h4>
|
|
|
|
|
<p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p>
|
|
|
|
|
</div>
|
|
|
|
|
</noscript>
|
|
|
|
|
|
|
|
|
|
<div id="content" class="span10 center">
|
|
|
|
|
<!-- content starts -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<ul class="breadcrumb">
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#">Home</a> <span class="divider">/</span>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#">Dashboard</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="sortable row-fluid">
|
|
|
|
|
<a data-rel="tooltip" title="Your homepage." class="well span3 top-block" href="index.jsp">
|
|
|
|
|
<span class="icon32 icon-red icon-user"></span>
|
|
|
|
|
<div>Your</div>
|
|
|
|
|
<div>Home Page</div>
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
<a data-rel="tooltip" title="Your testplans." class="well span3 top-block" href="testplan.jsp">
|
|
|
|
|
<span class="icon32 icon-color icon-star-on"></span>
|
|
|
|
|
<div>Testplan</div>
|
|
|
|
|
<div>Management</div>
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
<a data-rel="tooltip" title="Your scripts." class="well span3 top-block" href="script.jsp">
|
|
|
|
|
<span class="icon32 icon-color icon-cart"></span>
|
|
|
|
|
<div>Script</div>
|
|
|
|
|
<div>Management</div>
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
<a data-rel="tooltip" title="Create a new test." class="well span3 top-block" href="test.jsp">
|
|
|
|
|
<span class="icon32 icon-color icon-envelope-closed"></span>
|
|
|
|
|
<div>Create</div>
|
|
|
|
|
<div>Testplan</div>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="box span12">
|
|
|
|
|
<div class="box-header well">
|
|
|
|
|
<h2><i class="icon-info-sign"></i> Introduction</h2>
|
|
|
|
|
<div class="box-icon">
|
|
|
|
|
<a href="#" class="btn btn-setting btn-round" onClick="addparam()"><i class="icon-cog"></i></a>
|
|
|
|
|
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
|
|
|
|
|
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-content" style="height:500px">
|
|
|
|
|
<p class="center">
|
|
|
|
|
<a class="btn btn-large btn-primary" onClick="$('#createscript').modal('show')">Create a script</a>
|
|
|
|
|
<a class="btn btn-large btn-primary" onClick="selectscript()">Load a script</a>
|
|
|
|
|
<a class="btn btn-large btn-primary" onClick="starttest()">Start the test</a>
|
|
|
|
|
</p>
|
|
|
|
|
<table id="scripttab" class="table table-striped table-bordered bootstrap-datatable datatable">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Script Name</th>
|
|
|
|
|
<th>ID</th>
|
|
|
|
|
<th>Date created</th>
|
|
|
|
|
<th>Actions</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<!--<tr>
|
|
|
|
|
<td>1</td>
|
|
|
|
|
<td>1</td>
|
|
|
|
|
<td>1</td>
|
|
|
|
|
<td><a class='btn btn-info' href='#' onClick='addparam(this)'><i class='icon-edit icon-white'></i>Edit</a></td>
|
|
|
|
|
</tr>-->
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- content ends -->
|
|
|
|
|
</div><!--/#content.span10-->
|
|
|
|
|
</div><!--/fluid-row-->
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
|
|
<div class="modal hide fade" id="myModal">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
|
|
<h3>Settings</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<p>Here settings can be configured...</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<a href="#" class="btn" data-dismiss="modal">Close</a>
|
|
|
|
|
<a href="#" class="btn btn-primary">Save changes</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="modal hide fade" id="createscript">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
|
|
<h3>Create a script</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<p id="scriptinfo">Here settings can be configured...</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-primary" onClick="startserver()">Start Server</button>
|
|
|
|
|
<button type="button" class="btn btn-primary" onClick="stopserver()">Stop Server</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="scriptdiv" style="display:none" class="modal-footer">
|
|
|
|
|
<input class="input-mini" name="scriptname"></input>
|
|
|
|
|
<button type="button" class="btn btn-primary" onClick="savescript()">Save File</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="modal hide fade" id="addparam">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
|
|
|
|
|
|
|
<h3>Select params</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<p>You can choose the script that you recorded.</p>
|
|
|
|
|
<form class="form-horizontal">
|
|
|
|
|
<fieldset>
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label class="control-label" for="focusedInput">requireLoad</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<input class="input-xlarge focused" id="requireLoad" type="text" value="0">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label class="control-label" for="focusedInput">warm up</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<input class="input-xlarge focused" id="warmup" type="text" value="0">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label class="control-label" for="focusedInput">cooldown</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<input class="input-xlarge focused" id="cooldown" type="text" value="0">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label class="control-label" for="focusedInput">executeRange</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<input class="input-xlarge focused" id="executeRange" type="text" value="0">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</fieldset>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-primary" data-dismiss="modal" onClick="submitform()">Submit</button>
|
|
|
|
|
<button type="button" class="btn btn-primary" data-dismiss="modal" >Cancel</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="modal hide fade" id="loadscript">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
|
|
|
|
|
|
|
<h3>Select a script</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<p>You can choose the script that you recorded.
|
|
|
|
|
<button type="button" class="icon icon-refresh"></button>
|
|
|
|
|
</p>
|
|
|
|
|
<table id="loadscripttab" class="table table-striped table-bordered bootstrap-datatable datatable">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>choose</th>
|
|
|
|
|
<th>Script Name</th>
|
|
|
|
|
<th>ID</th>
|
|
|
|
|
<th>Date created</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-primary" data-dismiss="modal" onClick="submitselectedscript()">Choose</button>
|
|
|
|
|
<button type="button" class="btn btn-primary" data-dismiss="modal" >Cancel</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
|
<p class="pull-left">© <a href="http://usman.it" target="_blank">Muhammad Usman</a> 2012</p>
|
|
|
|
|
<p class="pull-right">Powered by: <a href="http://usman.it/free-responsive-admin-template">Charisma</a></p>
|
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
|
|
</div><!--/.fluid-container-->
|
|
|
|
|
|
|
|
|
|
<!-- external javascript
|
|
|
|
|
================================================== -->
|
|
|
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
|
|
|
|
|
|
|
|
|
<!-- jQuery -->
|
|
|
|
|
<script src="js/jquery-1.7.2.min.js"></script>
|
|
|
|
|
<!-- jQuery UI -->
|
|
|
|
|
<script src="js/jquery-ui-1.8.21.custom.min.js"></script>
|
|
|
|
|
<!-- transition / effect library -->
|
|
|
|
|
<script src="js/bootstrap-transition.js"></script>
|
|
|
|
|
<!-- alert enhancer library -->
|
|
|
|
|
<script src="js/bootstrap-alert.js"></script>
|
|
|
|
|
<!-- modal / dialog library -->
|
|
|
|
|
<script src="js/bootstrap-modal.js"></script>
|
|
|
|
|
<!-- custom dropdown library -->
|
|
|
|
|
<script src="js/bootstrap-dropdown.js"></script>
|
|
|
|
|
<!-- scrolspy library -->
|
|
|
|
|
<script src="js/bootstrap-scrollspy.js"></script>
|
|
|
|
|
<!-- library for creating tabs -->
|
|
|
|
|
<script src="js/bootstrap-tab.js"></script>
|
|
|
|
|
<!-- library for advanced tooltip -->
|
|
|
|
|
<script src="js/bootstrap-tooltip.js"></script>
|
|
|
|
|
<!-- popover effect library -->
|
|
|
|
|
<script src="js/bootstrap-popover.js"></script>
|
|
|
|
|
<!-- button enhancer library -->
|
|
|
|
|
<script src="js/bootstrap-button.js"></script>
|
|
|
|
|
<!-- accordion library (optional, not used in demo) -->
|
|
|
|
|
<script src="js/bootstrap-collapse.js"></script>
|
|
|
|
|
<!-- carousel slideshow library (optional, not used in demo) -->
|
|
|
|
|
<script src="js/bootstrap-carousel.js"></script>
|
|
|
|
|
<!-- autocomplete library -->
|
|
|
|
|
<script src="js/bootstrap-typeahead.js"></script>
|
|
|
|
|
<!-- tour library -->
|
|
|
|
|
<script src="js/bootstrap-tour.js"></script>
|
|
|
|
|
<!-- library for cookie management -->
|
|
|
|
|
<script src="js/jquery.cookie.js"></script>
|
|
|
|
|
<!-- calander plugin -->
|
|
|
|
|
<script src='js/fullcalendar.min.js'></script>
|
|
|
|
|
<!-- data table plugin -->
|
|
|
|
|
<script src='js/jquery.dataTables.min.js'></script>
|
|
|
|
|
|
|
|
|
|
<!-- chart libraries start -->
|
|
|
|
|
<script src="js/excanvas.js"></script>
|
|
|
|
|
<script src="js/jquery.flot.min.js"></script>
|
|
|
|
|
<script src="js/jquery.flot.pie.min.js"></script>
|
|
|
|
|
<script src="js/jquery.flot.stack.js"></script>
|
|
|
|
|
<script src="js/jquery.flot.resize.min.js"></script>
|
|
|
|
|
<!-- chart libraries end -->
|
|
|
|
|
|
|
|
|
|
<!-- select or dropdown enhancer -->
|
|
|
|
|
<script src="js/jquery.chosen.min.js"></script>
|
|
|
|
|
<!-- checkbox, radio, and file input styler -->
|
|
|
|
|
<script src="js/jquery.uniform.min.js"></script>
|
|
|
|
|
<!-- plugin for gallery image view -->
|
|
|
|
|
<script src="js/jquery.colorbox.min.js"></script>
|
|
|
|
|
<!-- rich text editor library -->
|
|
|
|
|
<script src="js/jquery.cleditor.min.js"></script>
|
|
|
|
|
<!-- notification plugin -->
|
|
|
|
|
<script src="js/jquery.noty.js"></script>
|
|
|
|
|
<!-- file manager library -->
|
|
|
|
|
<script src="js/jquery.elfinder.min.js"></script>
|
|
|
|
|
<!-- star rating plugin -->
|
|
|
|
|
<script src="js/jquery.raty.min.js"></script>
|
|
|
|
|
<!-- for iOS style toggle switch -->
|
|
|
|
|
<script src="js/jquery.iphone.toggle.js"></script>
|
|
|
|
|
<!-- autogrowing textarea plugin -->
|
|
|
|
|
<script src="js/jquery.autogrow-textarea.js"></script>
|
|
|
|
|
<!-- multiple file upload plugin -->
|
|
|
|
|
<script src="js/jquery.uploadify-3.1.min.js"></script>
|
|
|
|
|
<!-- history.js for cross-browser state change on ajax -->
|
|
|
|
|
<script src="js/jquery.history.js"></script>
|
|
|
|
|
<!-- application script for Charisma demo -->
|
|
|
|
|
<script src="js/test.js"></script>
|
|
|
|
|
<script src="bench4qjs/test.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<!--
|
|
|
|
|
Charisma v1.0.0
|
|
|
|
|
|
|
|
|
|
Copyright 2012 Muhammad Usman
|
|
|
|
|
Licensed under the Apache License v2.0
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
|
|
http://usman.it
|
|
|
|
|
http://twitter.com/halalit_usman
|
|
|
|
|
-->
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<title>Bench4Q</title>
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
<meta name="description" content="Bench4Q, a new method for QOS benchmarking.">
|
|
|
|
|
<meta name="author" content="Kai Ren">
|
|
|
|
|
|
|
|
|
|
<!-- The styles -->
|
|
|
|
|
<link id="bs-css" href="css/bootstrap-cerulean.css" rel="stylesheet">
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
body {
|
|
|
|
|
padding-bottom: 40px;
|
|
|
|
|
}
|
|
|
|
|
.sidebar-nav {
|
|
|
|
|
padding: 9px 0;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<link href="css/bootstrap-responsive.css" rel="stylesheet">
|
|
|
|
|
<link href="css/charisma-app.css" rel="stylesheet">
|
|
|
|
|
<link href="css/jquery-ui-1.8.21.custom.css" rel="stylesheet">
|
|
|
|
|
<link href='css/fullcalendar.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/fullcalendar.print.css' rel='stylesheet' media='print'>
|
|
|
|
|
<link href='css/chosen.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/uniform.default.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/colorbox.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/jquery.cleditor.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/jquery.noty.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/noty_theme_default.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/elfinder.min.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/elfinder.theme.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/jquery.iphone.toggle.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/opa-icons.css' rel='stylesheet'>
|
|
|
|
|
<link href='css/uploadify.css' rel='stylesheet'>
|
|
|
|
|
|
|
|
|
|
<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
|
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
|
|
|
<![endif]-->
|
|
|
|
|
|
|
|
|
|
<!-- The fav icon -->
|
|
|
|
|
<link rel="shortcut icon" href="img/favicon.ico">
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
<!-- topbar starts -->
|
|
|
|
|
<div class="navbar">
|
|
|
|
|
<div class="navbar-inner">
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
|
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
|
</a>
|
|
|
|
|
<a class="brand" href="index.html"> <img alt="Charisma Logo" src="img/bench4q-1.png" /> <span>Bench4Q</span></a>
|
|
|
|
|
|
|
|
|
|
<!-- theme selector starts -->
|
|
|
|
|
<div class="btn-group pull-right theme-container" >
|
|
|
|
|
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
|
|
|
|
|
<i class="icon-tint"></i><span class="hidden-phone"> Change Theme / Skin</span>
|
|
|
|
|
<span class="caret"></span>
|
|
|
|
|
</a>
|
|
|
|
|
<ul class="dropdown-menu" id="themes">
|
|
|
|
|
<li><a data-value="classic" href="#"><i class="icon-blank"></i> Classic</a></li>
|
|
|
|
|
<li><a data-value="cerulean" href="#"><i class="icon-blank"></i> Cerulean</a></li>
|
|
|
|
|
<li><a data-value="cyborg" href="#"><i class="icon-blank"></i> Cyborg</a></li>
|
|
|
|
|
<li><a data-value="redy" href="#"><i class="icon-blank"></i> Redy</a></li>
|
|
|
|
|
<li><a data-value="journal" href="#"><i class="icon-blank"></i> Journal</a></li>
|
|
|
|
|
<li><a data-value="simplex" href="#"><i class="icon-blank"></i> Simplex</a></li>
|
|
|
|
|
<li><a data-value="slate" href="#"><i class="icon-blank"></i> Slate</a></li>
|
|
|
|
|
<li><a data-value="spacelab" href="#"><i class="icon-blank"></i> Spacelab</a></li>
|
|
|
|
|
<li><a data-value="united" href="#"><i class="icon-blank"></i> United</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- theme selector ends -->
|
|
|
|
|
|
|
|
|
|
<!-- user dropdown starts -->
|
|
|
|
|
<div class="btn-group pull-right" >
|
|
|
|
|
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
|
|
|
|
|
<i class="icon-user"></i><span class="hidden-phone"> admin</span>
|
|
|
|
|
<span class="caret"></span>
|
|
|
|
|
</a>
|
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
|
<li><a href="#">Profile</a></li>
|
|
|
|
|
<li class="divider"></li>
|
|
|
|
|
<li><a href="login.html">Logout</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- user dropdown ends -->
|
|
|
|
|
|
|
|
|
|
<div class="top-nav nav-collapse">
|
|
|
|
|
<ul class="nav">
|
|
|
|
|
<li><a href="#">Visit Site</a></li>
|
|
|
|
|
<li>
|
|
|
|
|
<form class="navbar-search pull-left">
|
|
|
|
|
<input placeholder="Search" class="search-query span2" name="query" type="text">
|
|
|
|
|
</form>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div><!--/.nav-collapse -->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- topbar ends -->
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
|
|
|
|
|
<!-- left menu starts -->
|
|
|
|
|
<div class="span2 main-menu-span">
|
|
|
|
|
<div class="well nav-collapse sidebar-nav">
|
|
|
|
|
<ul class="nav nav-tabs nav-stacked main-menu">
|
|
|
|
|
<li class="nav-header hidden-tablet">Main</li>
|
|
|
|
|
<li><a class="ajax-link" href="index.jsp"><i class="icon-home"></i><span class="hidden-tablet"> HomePage</span></a></li>
|
|
|
|
|
<li><a class="ajax-link" href="testplan.jsp"><i class="icon-eye-open"></i><span class="hidden-tablet"> Test Plan</span></a></li>
|
|
|
|
|
<li><a class="ajax-link" href="script.jsp"><i class="icon-edit"></i><span class="hidden-tablet"> Script</span></a></li>
|
|
|
|
|
<li><a class="ajax-link" href="test.jsp"><i class="icon-list-alt"></i><span class="hidden-tablet"> Create a test</span></a></li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
<label id="for-is-ajax" class="hidden-tablet" for="is-ajax"><input id="is-ajax" type="checkbox"> Ajax on menu</label>
|
|
|
|
|
</div><!--/.well -->
|
|
|
|
|
</div><!--/span-->
|
|
|
|
|
<!-- left menu ends -->
|
|
|
|
|
|
|
|
|
|
<noscript>
|
|
|
|
|
<div class="alert alert-block span10">
|
|
|
|
|
<h4 class="alert-heading">Warning!</h4>
|
|
|
|
|
<p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p>
|
|
|
|
|
</div>
|
|
|
|
|
</noscript>
|
|
|
|
|
|
|
|
|
|
<div id="content" class="span10">
|
|
|
|
|
<!-- content starts -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<ul class="breadcrumb">
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#">Home</a> <span class="divider">/</span>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="#">Create a test</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="box span12 center">
|
|
|
|
|
<div class="box-header well">
|
|
|
|
|
<h2><i ></i> Create a test</h2>
|
|
|
|
|
<div class="box-icon">
|
|
|
|
|
<a href="#" class="btn btn-setting btn-round" onClick="addparam()"><i class="icon-cog"></i></a>
|
|
|
|
|
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
|
|
|
|
|
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-content" style="height:500px">
|
|
|
|
|
<p class="center">
|
|
|
|
|
<a class="btn btn-large btn-primary" onClick="$('#createscript').modal('show')">Create a script</a>
|
|
|
|
|
<a class="btn btn-large btn-primary" onClick="selectscript()">Load a script</a>
|
|
|
|
|
<a class="btn btn-large btn-primary" onClick="starttest()">Start the test</a>
|
|
|
|
|
</p>
|
|
|
|
|
<table id="scripttab" class="table table-striped table-bordered bootstrap-datatable datatable">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Script Name</th>
|
|
|
|
|
<th>ID</th>
|
|
|
|
|
<th>Date created</th>
|
|
|
|
|
<th>Actions</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<!--<tr>
|
|
|
|
|
<td>1</td>
|
|
|
|
|
<td>1</td>
|
|
|
|
|
<td>1</td>
|
|
|
|
|
<td><a class='btn btn-info' href='#' onClick='addparam(this)'><i class='icon-edit icon-white'></i>Edit</a></td>
|
|
|
|
|
</tr>-->
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- content ends -->
|
|
|
|
|
</div><!--/#content.span10-->
|
|
|
|
|
</div><!--/fluid-row-->
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
|
|
<div class="modal hide fade" id="myModal">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
|
|
<h3>Settings</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<p>Here settings can be configured...</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<a href="#" class="btn" data-dismiss="modal">Close</a>
|
|
|
|
|
<a href="#" class="btn btn-primary">Save changes</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="modal hide fade" id="createscript">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
|
|
<h3>Create a script</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<p id="scriptinfo">Here settings can be configured...</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-primary" onClick="startserver()">Start Server</button>
|
|
|
|
|
<button type="button" class="btn btn-primary" onClick="stopserver()">Stop Server</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="scriptdiv" style="display:none" class="modal-footer">
|
|
|
|
|
<input class="input-mini" name="scriptname"></input>
|
|
|
|
|
<button type="button" class="btn btn-primary" onClick="savescript()">Save File</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="modal hide fade" id="addparam">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
|
|
|
|
|
|
|
<h3>Select params</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<p>You can choose the script that you recorded.</p>
|
|
|
|
|
<form class="form-horizontal">
|
|
|
|
|
<fieldset>
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label class="control-label" for="focusedInput">requireLoad</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<input class="input-xlarge focused" id="requireLoad" type="text" value="0">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label class="control-label" for="focusedInput">warm up</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<input class="input-xlarge focused" id="warmup" type="text" value="0">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label class="control-label" for="focusedInput">cooldown</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<input class="input-xlarge focused" id="cooldown" type="text" value="0">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label class="control-label" for="focusedInput">executeRange</label>
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<input class="input-xlarge focused" id="executeRange" type="text" value="0">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</fieldset>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-primary" data-dismiss="modal" onClick="submitform()">Submit</button>
|
|
|
|
|
<button type="button" class="btn btn-primary" data-dismiss="modal" >Cancel</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="modal hide fade" id="loadscript">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
|
|
|
|
|
|
|
|
<h3>Select a script</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<p>You can choose the script that you recorded.
|
|
|
|
|
<button type="button" class="icon icon-refresh"></button>
|
|
|
|
|
</p>
|
|
|
|
|
<table id="loadscripttab" class="table table-striped table-bordered bootstrap-datatable datatable">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>choose</th>
|
|
|
|
|
<th>Script Name</th>
|
|
|
|
|
<th>ID</th>
|
|
|
|
|
<th>Date created</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-primary" data-dismiss="modal" onClick="submitselectedscript()">Choose</button>
|
|
|
|
|
<button type="button" class="btn btn-primary" data-dismiss="modal" >Cancel</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
|
<p class="pull-left">© Bench4Q 2013</p>
|
|
|
|
|
<p class="pull-right">Powered by: Bench4Q</p>
|
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
|
|
</div><!--/.fluid-container-->
|
|
|
|
|
|
|
|
|
|
<!-- external javascript
|
|
|
|
|
================================================== -->
|
|
|
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
|
|
|
|
|
|
|
|
|
<!-- jQuery -->
|
|
|
|
|
<script src="js/jquery-1.7.2.min.js"></script>
|
|
|
|
|
<!-- jQuery UI -->
|
|
|
|
|
<script src="js/jquery-ui-1.8.21.custom.min.js"></script>
|
|
|
|
|
<!-- transition / effect library -->
|
|
|
|
|
<script src="js/bootstrap-transition.js"></script>
|
|
|
|
|
<!-- alert enhancer library -->
|
|
|
|
|
<script src="js/bootstrap-alert.js"></script>
|
|
|
|
|
<!-- modal / dialog library -->
|
|
|
|
|
<script src="js/bootstrap-modal.js"></script>
|
|
|
|
|
<!-- custom dropdown library -->
|
|
|
|
|
<script src="js/bootstrap-dropdown.js"></script>
|
|
|
|
|
<!-- scrolspy library -->
|
|
|
|
|
<script src="js/bootstrap-scrollspy.js"></script>
|
|
|
|
|
<!-- library for creating tabs -->
|
|
|
|
|
<script src="js/bootstrap-tab.js"></script>
|
|
|
|
|
<!-- library for advanced tooltip -->
|
|
|
|
|
<script src="js/bootstrap-tooltip.js"></script>
|
|
|
|
|
<!-- popover effect library -->
|
|
|
|
|
<script src="js/bootstrap-popover.js"></script>
|
|
|
|
|
<!-- button enhancer library -->
|
|
|
|
|
<script src="js/bootstrap-button.js"></script>
|
|
|
|
|
<!-- accordion library (optional, not used in demo) -->
|
|
|
|
|
<script src="js/bootstrap-collapse.js"></script>
|
|
|
|
|
<!-- carousel slideshow library (optional, not used in demo) -->
|
|
|
|
|
<script src="js/bootstrap-carousel.js"></script>
|
|
|
|
|
<!-- autocomplete library -->
|
|
|
|
|
<script src="js/bootstrap-typeahead.js"></script>
|
|
|
|
|
<!-- tour library -->
|
|
|
|
|
<script src="js/bootstrap-tour.js"></script>
|
|
|
|
|
<!-- library for cookie management -->
|
|
|
|
|
<script src="js/jquery.cookie.js"></script>
|
|
|
|
|
<!-- calander plugin -->
|
|
|
|
|
<script src='js/fullcalendar.min.js'></script>
|
|
|
|
|
<!-- data table plugin -->
|
|
|
|
|
<script src='js/jquery.dataTables.min.js'></script>
|
|
|
|
|
|
|
|
|
|
<!-- chart libraries start -->
|
|
|
|
|
<script src="js/excanvas.js"></script>
|
|
|
|
|
<script src="js/jquery.flot.min.js"></script>
|
|
|
|
|
<script src="js/jquery.flot.pie.min.js"></script>
|
|
|
|
|
<script src="js/jquery.flot.stack.js"></script>
|
|
|
|
|
<script src="js/jquery.flot.resize.min.js"></script>
|
|
|
|
|
<!-- chart libraries end -->
|
|
|
|
|
|
|
|
|
|
<!-- select or dropdown enhancer -->
|
|
|
|
|
<script src="js/jquery.chosen.min.js"></script>
|
|
|
|
|
<!-- checkbox, radio, and file input styler -->
|
|
|
|
|
<script src="js/jquery.uniform.min.js"></script>
|
|
|
|
|
<!-- plugin for gallery image view -->
|
|
|
|
|
<script src="js/jquery.colorbox.min.js"></script>
|
|
|
|
|
<!-- rich text editor library -->
|
|
|
|
|
<script src="js/jquery.cleditor.min.js"></script>
|
|
|
|
|
<!-- notification plugin -->
|
|
|
|
|
<script src="js/jquery.noty.js"></script>
|
|
|
|
|
<!-- file manager library -->
|
|
|
|
|
<script src="js/jquery.elfinder.min.js"></script>
|
|
|
|
|
<!-- star rating plugin -->
|
|
|
|
|
<script src="js/jquery.raty.min.js"></script>
|
|
|
|
|
<!-- for iOS style toggle switch -->
|
|
|
|
|
<script src="js/jquery.iphone.toggle.js"></script>
|
|
|
|
|
<!-- autogrowing textarea plugin -->
|
|
|
|
|
<script src="js/jquery.autogrow-textarea.js"></script>
|
|
|
|
|
<!-- multiple file upload plugin -->
|
|
|
|
|
<script src="js/jquery.uploadify-3.1.min.js"></script>
|
|
|
|
|
<!-- history.js for cross-browser state change on ajax -->
|
|
|
|
|
<script src="js/jquery.history.js"></script>
|
|
|
|
|
<!-- application script for Charisma demo -->
|
|
|
|
|
<script src="js/charisma.js"></script>
|
|
|
|
|
<script src="bench4qjs/test.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|