02-24-2009
webinject - dealing with popups
Hello
We have a webapp that launches a link in a popup. We need to use webinject to check the content of that popup but have been so far unsuccessful. We use webinject as a nagios plugin.
Does anyone have any experience of using/configuring webinject and know if this is possible or not?
Otherwise, does anyone know of another (free?) tool that can do the same job?
Thanks
Steve.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am readinga file lin by line and based craeting a arry of unique elemenst from the second column of the line. However when i coem out of the while loop my array becomes empty , can eny one tell me what I would be doing wrong
#!/bin/bash
logfile="./mylog.dat"
begin=100
end="$(( $begin +... (5 Replies)
Discussion started by: jojan
5 Replies
2. Shell Programming and Scripting
I am having trouble with a script that is supposed to :
a)take all the jpg pictures in a given directory/parameter and create thumbnails of it in a directory on the desktop.
e.g
from /here/are/the/files.jpg to ~/Desktop/parser-the/files.png
this is my script: all the individual parts... (2 Replies)
Discussion started by: orochinagi
2 Replies
3. Programming
I'm currently making a card dealing program, it is suppose to display a list of cards like this:
"Ace of Heart, is red"
"Two of Heart, is red"
.
.
"Ace of Spade, is black"
and so on for all suits and numbers.
here is my current code:
#include <stdio.h>
#include <stdlib.h>
#include... (3 Replies)
Discussion started by: Izzy123
3 Replies
4. UNIX and Linux Applications
Geany : Home Page, the text editor, sometimes crashes and leaves a geany.core file. This is a binary file and supposedly contains all unsaved work and possibly some other information. Does anyone know how to deal with this file? (2 Replies)
Discussion started by: figaro
2 Replies
5. Shell Programming and Scripting
Korn Shell
I have hundreds of small files like below created every day. A midnight cron job moves them to the location /u04/temp/logs
But sometimes I have to manually move these files based a certain dates or time.
I have two basic requirements
1.Using mv command I want to move all .dat... (2 Replies)
Discussion started by: kraljic
2 Replies
6. Shell Programming and Scripting
I would like to know
Is it possible to get a notification as pop-up in linux
when a folder with extension '.aqs' written
a popup should come
as " The folder has been written "
Thank you in advance (5 Replies)
Discussion started by: bal_nair
5 Replies
7. Slackware
Recently I have been trying to boot into slackware on a new laptop that came preinstalled with windows 8. I have successfully installed slackware and Lilo, but I have had great difficult attempting to boot into it. Since the laptop contains no optical drive, I have been attempting to boot into... (2 Replies)
Discussion started by: a sandwhich
2 Replies
8. UNIX for Dummies Questions & Answers
I have file input
1/1/2013 1AS030A 0 1083 CHINA
1/1/2013 1AS030B 0 675 KOREA
1/1/2013 1AS035A 162 662 CHINA
1/1/2013 1AS035B 51 799 INDIA
1/1/2013 1AS035C 0 731 CHINA
1/2/2013 1AS073A 10 1375 KOREA... (5 Replies)
Discussion started by: radius
5 Replies
9. Shell Programming and Scripting
I have an edge-list with nodes, edge.txt
A B
B J
J H
C A
G H
G A
A C
K G
I have another file which tells me which of these nodes are important, input.txt
G
C
A (3 Replies)
Discussion started by: Sanchari
3 Replies
10. Programming
I'm writing my own simple XML parser as an experiment. It's a lot more complicated than it's supposed to be.
Things supposedly forbidden in XML comments happen all the time in the wild. You're never, ever supposed to find -- inside <!-- xml comments --> but in practice, you don't just find... (2 Replies)
Discussion started by: Corona688
2 Replies
LEARN ABOUT DEBIAN
webinject
Webinject(3pm) User Contributed Perl Documentation Webinject(3pm)
NAME
Webinject - Perl Module for testing web services
SYNOPSIS
use Webinject;
my $webinject = Webinject->new();
$webinject->engine();
DESCRIPTION
WebInject is a free tool for automated testing of web applications and web services. It can be used to test individual system components
that have HTTP interfaces (JSP, ASP, CGI, PHP, AJAX, Servlets, HTML Forms, XML/SOAP Web Services, REST, etc), and can be used as a test
harness to create a suite of [HTTP level] automated functional, acceptance, and regression tests. A test harness allows you to run many
test cases and collect/report your results. WebInject offers real-time results display and may also be used for monitoring system response
times.
CONSTRUCTOR
new ( [ARGS] )
Creates an "Webinject" object.
reporttype
possible values are 'standard', 'nagios', 'nagios2', 'mrtg' or 'external:'
nooutput
suppress all output to STDOUT, create only logilfes
break_on_errors
stop after the first testcase fails, otherwise Webinject would go on and execute all tests regardless of the previous case.
timeout
Default timeout is 180seconds. Timeout starts again for every testcase.
useragent
Set the useragent used in HTTP requests. Default is 'Webinject'.
max_redirect
Set maximum number of HTTP redirects. Default is 0.
proxy
Sets a proxy which is then used for http and https requests.
output_dir
Output directory where all logfiles will go to. Defaults to current directory.
globalhttplog
Can be 'yes' or 'onfail'. Will log the http request and response to a http.log file.
httpauth
Provides credentials for webserver authentications. The format is:
['servername', 'portnumber', 'realm-name', 'username', 'password']
baseurl
the value can be used as {BASEURL} in the test cases
baseurl1
the value can be used as {BASEURL1} in the test cases
baseurl2
the value can be used as {BASEURL2} in the test cases
standaloneplot
can be "on" or "off". Default is off. Create gnuplot graphs when enabled.
graphtype
Defaults to 'lines'
gnuplot
Defines the path to your gnuplot binary.
METHODS
engine
start the engine of webinject
EXAMPLES
example test case
<testcases>
<case
id = "1"
description1 = "Sample Test Case"
method = "get"
url = "{BASEURL}/test.jsp"
verifypositive = "All tests succeded"
warning = "5"
critical = "15"
label = "testpage"
errormessage = "got error: {PARSERESPONSE}"
/>
</testcases>
detailed description about the syntax of testcases can be found on the Webinject homepage.
SEE ALSO
For more information about webinject visit http://www.webinject.org
AUTHOR
Corey Goldberg, <corey@goldb.org>
Sven Nierlein, <nierlein@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2010 by Sven Nierlein
Copyright (C) 2004-2006 by Corey Goldberg
This library is free software; you can redistribute it under the GPL2 license.
perl v5.14.2 2012-05-12 Webinject(3pm)