Code Monkey home page Code Monkey logo

dtf's People

Contributors

rlgomes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dtf's Issues

generated documentation needs to get a better look

Thinking of making the generated documentation look nicer and one idea is to generate github wiki notation directly so it can look very similar to the rest of the wiki documentation, but better yet would be to generate the documentation into some form of docbook xml and then process with xslt that into the wiki format so other xslt's can be created for generating into other formats in the future.

use jline to trigger debug mode console from any of the existing components

the idea is that while the component is running you'd be able to just do ctrl-d (probably not that shortcut ;) ) and you'd go into debug mode and be able to trace what is going on without having to attach to the DebugServer using telnet. It should be pretty straightforward with jline withough having to create much code or maintain anything complicated.

parallel execution of testscript has some bugs

Currently the open source version has a few known bugs in the parallel execution of the testscript tag. I will be applying a patch from the Yahoo branch soon but just wanted to track this here. With that patch I will also make a concurrency attribute available on the testsuite tag which will give DTF script writers the feature that allows them to specify the level of concurrency within a testsuite.

structured data streaming properties

The idea is that you're using propreties sometimes you would like to create a stream of data that is structured in an XML/JSON format and this could be done using the existing streaming feature in DTF but the missing piece is how do we generate the structured data. For generating structured data I'm creating a separate library called pangu that will allow me to do this and then I'll implement this feature using that library.

xpath property transformer does not handle default namespaces correctly

The issue came up when writing a tutorial on how to test the Yahoo Web Search APis and when I tried to apply the simple expression:

//Result/ClickUrl/text()

to the XML:



<Title>Secure source code hosting and collaborative development - GitHub</Title>

GitHub is the best way to participate in that collaboration:
fork ... GitHub was written for public, open source projects and
private, proprietary codes — if ...

http://github.com/
http://github.com/
github.com/
1278226800
text/html

http://uk.wrs.yahoo.com/_ylt=A0PDB2JEVDFM5QsADFfdmMwF;_ylu=X3oDMTBwOHA5a2tvBGNvbG8DdwRwb3MDMQRzZWMDc3IEdnRpZAM-/SIG=159bjs88i/EXP=1278387652/**http%3A//66.218.69.11/search/cache%3Fei=UTF-8%26appid=dtftest%26query=github%26results=3%26u=github.com/%26w=github%26d=bQ68-rZfVFEx%26icp=1%26.intl=us
16262

<Result>
    <Title>GitHub - Wikipedia, the free encyclopedia</Title>
    <Summary>GitHub is a web-based hosting service for projects that use the
        Git revision control system. It is written using Ruby on Rails by
        GitHub, Inc. ...</Summary>
    <Url>http://en.wikipedia.org/wiki/GitHub</Url>
    <ClickUrl>http://en.wikipedia.org/wiki/GitHub</ClickUrl>
    <DisplayUrl>en.wikipedia.org/wiki/GitHub</DisplayUrl>
    <ModificationDate>1276930800</ModificationDate>
    <MimeType>text/html</MimeType>
    <Cache>
        <Url>http://uk.wrs.yahoo.com/_ylt=A0PDB2JEVDFM5QsAD1fdmMwF;_ylu=X3oDMTBwZG5hOWwzBGNvbG8DdwRwb3MDMgRzZWMDc3IEdnRpZAM-/SIG=15qtt8cfi/EXP=1278387652/**http%3A//66.218.69.11/search/cache%3Fei=UTF-8%26appid=dtftest%26query=github%26results=3%26u=en.wikipedia.org/wiki/GitHub%26w=github%26d=LtB21bZfVEFB%26icp=1%26.intl=us</Url>
        <Size>62894</Size>
    </Cache>
</Result>

<Result>
    <Title>Help.GitHub - Welcome</Title>
    <Summary>Here we have compiled many guides to help you set up and use
        git and GitHub. ... GitHub Support – Resolve issues with GitHub or
        get help with basic git issues. ...</Summary>
    <Url>http://help.github.com/</Url>
    <ClickUrl>http://help.github.com/</ClickUrl>
    <DisplayUrl>help.github.com/</DisplayUrl>
    <ModificationDate>1277708400</ModificationDate>
    <MimeType>text/html</MimeType>
    <Cache>
        <Url>http://uk.wrs.yahoo.com/_ylt=A0PDB2JEVDFM5QsAElfdmMwF;_ylu=X3oDMTBwZ2dpZ2ZkBGNvbG8DdwRwb3MDMwRzZWMDc3IEdnRpZAM-/SIG=15et22pr6/EXP=1278387652/**http%3A//66.218.69.11/search/cache%3Fei=UTF-8%26appid=dtftest%26query=github%26results=3%26u=help.github.com/%26w=github%26d=QEZwlrZfVErp%26icp=1%26.intl=us</Url>
        <Size>14876</Size>
    </Cache>
</Result>

I found that transformer doesn't handle the namespaces correctly and had to work around it with the following UGLY expression:

//[local-name()='Result']/[local-name()='ClickUrl']/text()

There must be a way to handle the namespaces correctly or allow the end user to identify namespace mappings like so //ns:Result/ns:ClickUrl,[ns=>xxxx].

When this is fixed I should update the tutorial at http://github.com/rlgomes/dtf/wikis/searching-for-a-simple-term

writing actions with annotations

This already exists in a prototype branch in the Yahoo internal version but I will be seeking approval to bring this into the open source version soon. I may also open a discussion about this feature in the community if others show interest before applying the existing patch and instead make the feature community driven.

create selenium support for DTF

I have had this idea for quite a while and never had enough time. Basically the idea is to have support for the selenium testing framework within DTF by being able to replay the same pre-recorded tests from something like the Firefox plugin within DTF from multiple nodes at the same time.

The ability to take N behaviors pre-recorded with the Firefox plugin and then create a real world scenario of users hitting your system would be something that you could only achieve with the power of selenium to mimic user behavior on a browser and the being able to distribute that behavior from hundreds to thousands of simulated users at the same time.

some links:

Support for SWTBot

Hey would it make sense to support this? How hard would it be for me to add this to the framework? I want to try and get this in there and see if I can use it for work.

Rick

using https requests in the http tags needs a few documentation additions

Currently on some systems you need to set the property javax.net.ssl.trustStore to the right keystore manually in order for things to work. On some systems the default locations are not respected and the user needs to specify that property somehow. There should be at least documentation explaining on how to do this correctly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.