Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tclwebtest
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
tclwebtest
Commits
7b108700
Commit
7b108700
authored
Feb 19, 2021
by
Project Open
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
http -> https
parent
447824f0
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
28 additions
and
28 deletions
+28
-28
api_all.html
doc/api_all.html
+7
-7
api_public.html
doc/api_public.html
+7
-7
others.html
doc/others.html
+3
-3
others.txt
doc/others.txt
+1
-1
from_openacs.tcl
lib/from_openacs.tcl
+1
-1
tclwebtest.tcl
lib/tclwebtest.tcl
+8
-8
image_submit.html
selftest/image_submit.html
+1
-1
No files found.
doc/api_all.html
View file @
7b108700
...
...
@@ -463,7 +463,7 @@ Do an http request and store everything in the current session.
Expects a sane reply from the server, e.g. no status "500 Internal
Server Error" or 404's and throws an assertion_failed
otherwise. Here you have a
<a
href=
"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html"
>
list
href=
"http
s
://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html"
>
list
of possible http error codes
</a>
.
<p>
...
...
@@ -503,7 +503,7 @@ Do an http request and store everything in the current session.
</dd>
<dt><b>
Parameters:
</b></dt><dd>
<b>
url
</b>
- the url to be requested. Examples:
<code>
http://openacs.org/register/
</code>
,
<code>
http
s
://openacs.org/register/
</code>
,
<code>
/foo/bar/some_page.html
</code>
,
<code>
some_page.html
</code>
,
<code>
file:///tmp/my_test_file.html
</code>
.
<br>
...
...
@@ -1135,12 +1135,12 @@ tclwebtest keeps an internal pointer, <b>current_form</b>.
user_agent_id "Custom mozilla"
# get number of found entries for tclwebtest
do_request http://www.google.com/
do_request http
s
://www.google.com/
field fill tclwebtest
form submit
# go directly to the first entry
do_request http://www.google.com/
do_request http
s
://www.google.com/
field fill tclwebtest
form submit {feeling lucky}
</pre></blockquote>
...
...
@@ -2098,7 +2098,7 @@ By default tclwebtest identifies itself as
an identity because some webmaster decided to restrict access to
his page to a subset of the
<i>
popular
</i>
browsers. You can find
a list of common user agent strings at:
<a
href=
"http
://www.pgts.com.au/pgtsj/pgtsj0208c.html"
>
http
://www.pgts.com.au/pgtsj/pgtsj0208c.html
</a>
<a
href=
"http
s://www.pgts.com.au/pgtsj/pgtsj0208c.html"
>
https
://www.pgts.com.au/pgtsj/pgtsj0208c.html
</a>
<p>
<dl>
...
...
@@ -2120,9 +2120,9 @@ By default tclwebtest identifies itself as
}
log "Let's fool Google"
do_request -nocomplain http://www.google.com/search?q=linux
do_request -nocomplain http
s
://www.google.com/search?q=linux
user_agent_id "super mozilla like browser"
do_request http://www.google.com/search?q=linux
do_request http
s
://www.google.com/search?q=linux
</pre></blockquote><br>
</dd>
</dl></blockquote>
<p>
...
...
doc/api_public.html
View file @
7b108700
...
...
@@ -147,7 +147,7 @@ Do an http request and store everything in the current session.
Expects a sane reply from the server, e.g. no status "500 Internal
Server Error" or 404's and throws an assertion_failed
otherwise. Here you have a
<a
href=
"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html"
>
list
href=
"http
s
://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html"
>
list
of possible http error codes
</a>
.
<p>
...
...
@@ -187,7 +187,7 @@ Do an http request and store everything in the current session.
</dd>
<dt><b>
Parameters:
</b></dt><dd>
<b>
url
</b>
- the url to be requested. Examples:
<code>
http://openacs.org/register/
</code>
,
<code>
http
s
://openacs.org/register/
</code>
,
<code>
/foo/bar/some_page.html
</code>
,
<code>
some_page.html
</code>
,
<code>
file:///tmp/my_test_file.html
</code>
.
<br>
...
...
@@ -421,12 +421,12 @@ tclwebtest keeps an internal pointer, <b>current_form</b>.
user_agent_id "Custom mozilla"
# get number of found entries for tclwebtest
do_request http://www.google.com/
do_request http
s
://www.google.com/
field fill tclwebtest
form submit
# go directly to the first entry
do_request http://www.google.com/
do_request http
s
://www.google.com/
field fill tclwebtest
form submit {feeling lucky}
</pre></blockquote>
...
...
@@ -1000,7 +1000,7 @@ By default tclwebtest identifies itself as
an identity because some webmaster decided to restrict access to
his page to a subset of the
<i>
popular
</i>
browsers. You can find
a list of common user agent strings at:
<a
href=
"http
://www.pgts.com.au/pgtsj/pgtsj0208c.html"
>
http
://www.pgts.com.au/pgtsj/pgtsj0208c.html
</a>
<a
href=
"http
s://www.pgts.com.au/pgtsj/pgtsj0208c.html"
>
https
://www.pgts.com.au/pgtsj/pgtsj0208c.html
</a>
<p>
<dl>
...
...
@@ -1022,9 +1022,9 @@ By default tclwebtest identifies itself as
}
log "Let's fool Google"
do_request -nocomplain http://www.google.com/search?q=linux
do_request -nocomplain http
s
://www.google.com/search?q=linux
user_agent_id "super mozilla like browser"
do_request http://www.google.com/search?q=linux
do_request http
s
://www.google.com/search?q=linux
</pre></blockquote><br>
</dd>
</dl></blockquote>
<p>
...
...
doc/others.html
View file @
7b108700
...
...
@@ -31,7 +31,7 @@ Other projects that do similar things:
<li>
webunit,
<a
href=
"http://sourceforge.net/projects/webunit/"
>
http://sourceforge.net/projects/webunit/
</a><br>
in
<a
href=
"http://www.python.org/"
>
Python
</a>
in
<a
href=
"http
s
://www.python.org/"
>
Python
</a>
<li>
opensta,
<a
href=
"http://opensta.org/"
>
http://opensta.org/
</a><br>
...
...
@@ -46,8 +46,8 @@ in perl, with proxy. no html parsing, just regex asserts
uses java swing browser, tests are in xml
<li>
Many others are listed at
<a
href=
"http://www.softwareqatest.com/qatweb1.html#LOAD"
>
http://www.softwareqatest.com/qatweb1.html#LOAD
</a>
<a
href=
"http
s
://www.softwareqatest.com/qatweb1.html#LOAD"
>
http
s
://www.softwareqatest.com/qatweb1.html#LOAD
</a>
</ul>
...
...
doc/others.txt
View file @
7b108700
...
...
@@ -34,4 +34,4 @@ tests are in xml
>> many others
are listed here: http://www.softwareqatest.com/qatweb1.html#LOAD
\ No newline at end of file
are listed here: https://www.softwareqatest.com/qatweb1.html#LOAD
\ No newline at end of file
lib/from_openacs.tcl
View file @
7b108700
# These procedures have been copied from the OpenACS 4.x project
# (http://openacs.org
)
.
# (http
s
://openacs.org
)
.
#
# They are subject to the GNU General Public License (v2
)
.
...
...
lib/tclwebtest.tcl
View file @
7b108700
...
...
@@ -155,7 +155,7 @@ namespace eval ::tclwebtest:: {
an identity because some webmaster decided to restrict access to
his page to a subset of the <i>popular</i> browsers. You can find
a list of common user agent strings at:
<a href=
"http
://www.pgts.com.au/pgtsj/pgtsj0208c.html"
>http
://www.pgts.com.au/pgtsj/pgtsj0208c.html</a>
<a href=
"http
s://www.pgts.com.au/pgtsj/pgtsj0208c.html"
>https
://www.pgts.com.au/pgtsj/pgtsj0208c.html</a>
@param id Indicate the user agent you want to set, which should be
a string. There are a few shortcuts built into tclwebtest, you can
...
...
@@ -174,9 +174,9 @@ namespace eval ::tclwebtest:: {
}
log
"Let's fool Google"
do_request -nocomplain http://www.google.com/search?q=linux
do_request -nocomplain http
s
://www.google.com/search?q=linux
user_agent_id
"super mozilla like browser"
do_request http://www.google.com/search?q=linux
do_request http
s
://www.google.com/search?q=linux
</pre></blockquote>
}
{
...
...
@@ -943,12 +943,12 @@ namespace eval ::tclwebtest:: {
user_agent_id
"Custom mozilla"
# get number of found entries for tclwebtest
do_request http://www.google.com/
do_request http
s
://www.google.com/
field fill tclwebtest
form submit
# go directly to the first entry
do_request http://www.google.com/
do_request http
s
://www.google.com/
field fill tclwebtest
form submit
{
feeling lucky
}
</pre></blockquote>
...
...
@@ -2023,7 +2023,7 @@ namespace eval ::tclwebtest:: {
}
{
# Cookies spec. is here:
# http://wp.netscape.com/newsref/std/cookie_spec.html Some
# http
s
://wp.netscape.com/newsref/std/cookie_spec.html Some
# examples of actual cookies seen on the web follow:
# 'cookietest=1
;
expires=Mon, 09-May-2033 04:18:36 GMT
;
path=/'
#
...
...
@@ -2228,7 +2228,7 @@ namespace eval ::tclwebtest:: {
Expects a sane reply from the server, e.g. no status
"500 Internal
Server Error"
or 404's and throws an assertion_failed
otherwise. Here you have a <a
href=
"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html"
>list
href=
"http
s
://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html"
>list
of possible http error codes</a>.
<p>
...
...
@@ -2238,7 +2238,7 @@ namespace eval ::tclwebtest:: {
sourceforge, related to duplicate Host: headers.
@param url the url to be requested. Examples:
<code>http://openacs.org/register/</code>,
<code>http
s
://openacs.org/register/</code>,
<code>/foo/bar/some_page.html</code>,
<code>some_page.html</code>,
<code>file:///tmp/my_test_file.html</code>.
...
...
selftest/image_submit.html
View file @
7b108700
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http
s
://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=iso-8859-15"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment