About site: Programming/Software Testing/E-Commerce Testing - Solex
Return to Computers also Computers
  About site: http://solex.sourceforge.net/

Title: Programming/Software Testing/E-Commerce Testing - Solex Eclipse IDE plug-in designed to ensure the non-regression and stress testing of a Web application. [Open Source, Apache Software License]
Infrant_Technologies_Home_Page Infrant Technologies' integrated NSP (Network Storage Processor) supports up to 4 or 8 channels of Serial ATA drives in RAID 0/1/5 and Gigabit Ethernet.

Moscow_Access_User_Group Moscow, Russia. Site available in English and Russian.

AnnoCPAN_Recent_Notes RSS feed with the latest notes posted to AnnoCPAN. [RSS]

Microsoft_Outlook_Solutions Hot issues, tips, tutorials and updates for Outlook 97, 98, 2000, and 2002.

ImageWorks,_LLC Offers design, development, database integration, and specializing in internet marketing, e-commerce solutions and hosting in Connecticut, United States.

1-4a_Rename Free file renamer that renames many files at once and previews changes instantly. Two modes available basic mode for standard renaming options by replacing letters within filenames or inserting letter


  Alexa statistic for http://solex.sourceforge.net/





Get your Google PageRank






Please visit: http://solex.sourceforge.net/


  Related sites for http://solex.sourceforge.net/
    Datavic_Enterprises Computer forensics and deleted data recovery company in Victoria, British Columbia, Canada.
    inQA_labs Test outsourcing services and software quality consultancy offering services throughout the world.
    History_of_Computing_Information History of computing, with a focusing on the Electronic Numerical Integrator and Computer, the world's first operational, general purpose, electronic digital computer.
    HotlineX Project responsible for the hx (mhx) client and its graphical front-end, ghx.
    Outcome A subscription-based service for conducting professional web surveys and market research.
    Maxon_Computer Makers of Cinema 4D.
    WDM_Inc Provider of KVM and network solutions for data centers, telecom, computer labs, classrooms and trading rooms.
    OverClockers_com Continuously updated with hardware, CPU's and overclocking.
    Microsoft_Office_98 A productivity suite by Microsoft Corporation that provides word processing, spreadsheet, presentation, and email client capabilities.
    International_Web_Pages,_Inc_ Provides general design for family and commercial use. Offers Spanish, Italian, Dutch, French, and Russian languages.
    Low_Profile_Software Print title strips for vinyl and CD juke boxes and maintain your record collections. Windows shareware.
    RFC_1306 Experiences Supporting By-Request Circuit-Switched T3 Networks. A. Nicholson, J. Young. March 1992.
    GreetingGrams_com Featuring jokes, humor, fun, occasions, love, romance, friends and quizzes.
    PL/I_Analyzer An interactive workbench used to analyze and re-engineer legacy PL/I systems. Program overview and description, key features, hardware and software requirements.
    SiteHost_International Offers design, hosting, and promotion, with affiliate programs.
    Tyler,_Tim Offers web application development, web design, hosting, e-commerce, web forums, Internet consulting for small businesses, streaming media production and delivery.
    NetSuccess_Inc_ Design, Flash, search engine submission, and MS Windows-based hosting and colocation. Based in the DFW area, Texas, United States.
    Kerkhof,_Todd_A_ This Macintosh business solutions specialist also offers hosting, site design, graphics, and interactivity.
    Lake_Wolfgang_Webcam Live pictures from the White Horse Inn webcam in St. Wolfgang, Salzkammergut area, Austria.
    Yahoo!_Groups___hercules-390 Discussion group for users of the Hercules ESA/390 mainframe emulator
This is websites2007.org cache of m/ as retrieved on 2008.09.08 websites2007.org's cache is the snapshot that we took of the page as we crawled the web. The page may have changed since that time.
Solex - Web Application Testing with Eclipse

Solex

Web Application Testing with Eclipse SourceForge <b>Eclipse</b>.org NEOMAlogic - Project Sponsor http://sourceforge.net/projects/solex What is Solex ? Why another testing tool ? What can I do with Solex ? What do I need to run Solex ? How does it look like ? Getting Started Recording Editing Replacement rule Assertion Extraction XPath Filters Playback

What is Solex ?

Solex is a free open source Web application testing tool built as aplug-in for the Eclipse IDE. It provides functions to record aclient session, adjust it according to various parameters and replay it later typically in order toensure non regression of the application's behaviour (with stress testing capabilities being added at alater stage).By recording, we mean that Solex acts as an HTTPproxy and records all HTTP requests and responses going through the wire between a Web client (eg. a Webbrowser) and a Web server. The task of replaying a scenario consists in sending the previously recordedand eventually customized HTTP requests to the server and asserting each response.Solex 0.5.0works with Eclipse Release 2.1.2, Build id: 200311030802 and Solex 0.5.3 works with EclipseRelease 3.1.1, Build id: M20050929-0840. You will also need a JRE 1.4.x or later.

Why another testing tool ?

Solex started as an internal project because we were unable to find an open source testing tool fully suitableto our needs and in particular capable of dynamically altering requests. Furthermore, the tool wasexpected to be fully integrated with our internal development environment based on the Eclipse platform.For some web applications, a request depends on aprevious server's response. To address such a requirement, Solex introduces the concept of extractionand replacement rules. An extraction rule tied to an HTTP message content will bind an extractedvalue with a variable. A replacement rule will replace any part of an HTTP message with a variablecontent.Solex therefore provides an easy way to extract URLparameters, Header values or any part of a request or a response, bind their values with variables andthen replace URL parameters, Header values or any part of a request with the variable content.Example:Let's imagine the next two requests recorded from a Web browser: GET http://www.myServer/myWebApp?action=connect HTTP/1.1 GET http://www.myServer/myWebApp?action=list&dynamic_id=12345 HTTP/1.1Replaying these two requests without any modificationmay fail because dynamic_id must be different each time. This value may come from the first response bodycontent. By using Solex, it is possible to add an extraction rule to the first response (e.g. obtainingthe value 12345) and a replacement rule to the second request (e.g. populating the dynamic_id parameterwith the value extracted).Moreover, Solex provides the user with thecapability to add assertions for each response. Once a response has been received, all assertions of thisresponse will be called to ensure that it is valid. If not, the playback process is stopped.Solex provides several kinds of rules andassertions, the most complicated ones support regular expressions and XPath.

What can I do with Solex?

Solex can record HTTP messages by acting as a Web proxy. Recorded sessions can be saved as XML and reopened later. HTTP requests and responses are fully displayed in order to inspect and customize their content, thanks to replacement rules. Solex allows the attachment of extraction or replacement rules to any HTTP message content, HTTP header or URL parameter. Recorded requests can be filtered to remove or disable unwanted resources, like .jpg, .gif. Solex allows the attachment of assertions to responses in order to validate a scenario during its playback. Solex can replay an HTTP session request by request or all requests at once. Playback results can be exported as XML with an optional XSL transformation.

What do I need to run Solex ?

The primary requirement is to have Eclipse (http://www.eclipse.org) version 2.1.2 (or above) installed on your computer. Download a Solex distribution from Sourceforge (http://sourceforge.net/projects/solex). Install the Solex plug-in: decompress the Solex archive in your Eclipse plugins folder and start Eclipse. Follow this tutorial.

How does it look like ?

OverviewThe easiest way to see the Solex components is to openthe dedicated Solex perspective which supplies an editor and two views. All".slx" extension files opened from Eclipse will invoke the Solex editor. The Message Body Content view shows the content of a request or aresponse when its body is selected.The Playback Results view displays requests andresponses sent and received during the playback process. It also displays all variables dynamicallycreated during the process.

Getting Started

RecordingSolex preferencesWe will start by recording an HTTP session with aWeb browser. First, we must set the port you want to be used by the Solex integrated proxy.Open the Eclipse preferences pages, choose the Solexsection and enter any free port, eg. 8088.Also, the player can be configured to play a sessionagainst a server different than the one used to record the session.Finally, configure your browser to connect through aweb proxy. The proxy address (also called proxy server) is the computer where Solex is running. The proxyport is the value previously entered in the Solex preferences.The sample picture below is taken from the MozillaFirefox settings, with Solex running locally.Mozilla SettingsSolex session wizardCreate a new Solex session file by using the standard Eclipse New Other... menu entry, in the Filemenu. Select the New HTTP session option in the Solexsection and click Next.After choosing a file name, a new dedicated session editor is opened.The session is almost empty and ready to be used for a recording.A Solex session always includes a Constantsnode. This element gathers named values that are created by hand.ConstantsThis screenshot shows a session having one constant, named cte1 and and bearing the valueval1.To edit constants, double-click on the Constants node.We don't need constants to record, so let's roll.Start RecordingThe recording process can be started from the Eclipse toolbar or the Solex menu. The icon isthe one with a red dot. You can now navigate through the Web application you want to test, and the Solexeditor will record and simultaneously display in real time the HTTP requests and responses.In this tutorial, during the session recording, we simply go to Google, then we search the web for the solex keyword and go to the Solex project page. Stop RecordingStop recording once your session is over. Use the Eclipse toolbar or the Solex menu to dothis. The icon is the one with a red square.Session ContentThe editor should now show all the requests recorded during the session.Each request may be expanded to reveal its URL and the correspondingURL parameters. HTTP headers are also presented, along with the responses.When a body is selected, its content is shown in the Message Body Content view. Three tabs are selectable: source: the body content is shown as-is, xhtml: a tree is used to show the body content. hmtl: the source but formatted.The recording phase is complete and we'll now start to edit thissession to let it do something of interest.EditingIn this section, we'll add rules and assertions to oursession. A rule or an assertion can be created by two means: by using the contextual menu (right buttonclick with your mouse) on the desired item, or with the buttons found on the Body Content view. The Body Contentview buttons are used when creating a rule based on a regularexpression.Replacement ruleReplacement ruleWe'll first do a very simple replacement of an URL parameter's value. The first step is tocreate a constant (double-click on the Constants node) with avalue of "solex" and named "search".We can now add a replacement rule for the URLparameter "q" of the google search request. This parameter contains the search keywords. Do a right clickon the "q" parameter and select Add replacement rule. Then,select in the combolist the constant previously created and you're done. The rule should appear rightunder the parameter node, as in the screen shot.At playback time, the parameter "q" will be replaced by the constant's value, which is "solex". AssertionCreate AssertionWe now want to assert the Solex project page onSourceforge.net. We'll check that the HTML <title> tagexists and contains "Web Application Testing with Eclipse " and that the page doesn't contain thesentence "Not for Eclipse" (it does make sense, doesn't it?).Open the assertion dialog box: right click on the body of the first sourceforge.net response, as depictedin the screen shot.Edit AssertionFill in the regular expression field with the stringthat will be searched: "Web Application Testing with Eclipse". The Previewbutton computes the regular expression and returns true ifthe regular expression produces a token contained in the response. Which, hopefully, is the case.Notice that an assertion allows you to assert the existence or not of theregular expression, i.e: if you want to assert that your regular expression doesn't exist in the body,write your regular expression (ex: "Not for Eclipse") and false inthe combolist.You can also assert with a variable/constantvalue: erase the regular expression and choose a variable name in the combolist.ExtractionCreate an extraction ruleWe'll now add an extraction rule to the Google response page in order to extract a valueusing a regular expression.Select the body of the google response. The Message Body Contentview shows its content. We want to extract the Solex page title from the Google search results. The firststep is to select a meaningful excerpt from the HTML code.When selecting a body part, it is assumed that you select the first delimiter of the token to extract orreplace, the token itself and the last delimiter. Both first and last delimiters may be empty if yousearch an exact phrase, which is useful mainly for assertions.The string <font size=-1><b>Solex</b>. WebApplication Testing with Eclipse. SourceForge contains the first and last delimiters, and thetoken we want to bind to a variable.Extraction rule dialogThis time, the rule is added from the Messagebody content dedicated view by using one of the two buttons located at the top right position ofthis view. The way to create a rule based on a regular expression is the same for both extraction andreplacement rules.Open extraction dialogThe extraction rule button is the rightmost one.At the top of the dialog window, an Helper is provided to simplify thegeneration of common regular expressions. The string in it is the one previously selected in the Body Content view.Then, as we selected a string, the Helper section isenabled and provides you with the ability to select the token. The Generatebutton will then compute a regular expression returning the token. You can experiment with the regularexpression until you're satisfied. In the sample, "title" is the variable name that will receive theextracted value. The Compute button computes and displays thevalue found in the originally recorded session.You can get a list of the available variables and theirvalue at any point in the session by right-clicking on a request and selecting Display Available Variables.Warning : youcan overwrite a constant with an extraction rule, but it is not advisable to do so as it could bemisleading. We include this functionality because it could be very useful to provide a default value fora variable. Internally, if a variable is created with the same name as a constant, they both exist duringplayback, but the variable has priority over the constant.XPathThe ability to extract an expression using XPath is also available inSolex. It appears through a dedicated tab (xhtml) in the Body Contentview. It offers a tree view of the HTML page. You can type in an XPath expression in the input field andexecute it to highlight the corresponding node(s). A very simple assistant, found in the contextual menu,can generate the XPath expression from a selected node.A valid XPath expression must return a single node in order to be usable by an extraction rule. XPath ViewFiltersSolex offers a way to filter the elements of asession. These filters are not dynamic, meaning that they are launched on a session after the recordphase, not during it. There are of two kinds: filters on HTTP requests and on HTTP headers. They allowyou to enable, disable or delete requests or headers based on a simple pattern.PlaybackAt last, we can run the session. The target host canbe configured in the preferences. If you don't supply one, thehost used for recording will be used.Start PlaybackTwo playback buttons are supplied. The first one (leftmost) plays one request at a time andthe second one (rightmost) plays all requests. The Playback Results view displays a summary of eachrequest sent, its response status code, the time to first byte, to last byte and all variablesdynamically created. Constant are displayed between parenthesis.Results ViewAn export button located on the upper right corner ofthe Playback Results view allows you to export results as XML. Export Dialog This product includes softwares developed by: the Apache Software Foundation (http://www.apache.org/),Andy Clark.(http://www.apache.org/~andyc/neko/doc/html/index.html),the Jaxen Project (http://www.jaxen.org/),the SAXPath Project (http://www.saxpath.org/),the Xineo Project (http://software.xineo.net/).
 

Eclipse

IDE

plug-in

designed

to

ensure

the

non-regression

and

stress

testing

of

a

Web

application.

[Open

Source,

Apache

Software

License]

http://solex.sourceforge.net/

Solex 2008 September

dvd rental

dvd


Eclipse IDE plug-in designed to ensure the non-regression and stress testing of a Web application. [Open Source, Apache Software License]

Rules




© 2008 Internet Explorer 5+ or Netscape 6+

Recommended Sites: 1. Arts - Business - Computers - Games - Health - Home - Kids and Teens - News - Recreation - Reference - Regional - Science - Shopping - Society - Sports - World Miss Gallery - Top Anime Hentai - DVD rental by mail - Send Free Text Message Online - Adverse Credit Remortgage - Online Loans - Debt Consolidation - Cell Phones
2008-09-08 10:11:39

Copyright 2005, 2006 by Webmaster
Websites is cool :) 29Krakow Hotels - Promocja Stron - Kalendarze - Aparaty Cyfrowe - Kasy Fiskalne