Looking to simulate a DB for tests

In order to test applications which uses DB (with JDBC), I would like to know if there's any package or tool to simulate a DB
(if it's a file on the local system, or just a virtual memory used by the test application), so the test would be faster, and possible to use even if there's no accessible DB.
Thanks.

EyalR wrote:
Well, I was primary aiming for mock objects, or objects which simulates the DB actions differently (maybe writing it to the local system), but I don't want anything to do with a real DB.
Doesn't seem like a good idea to me.
At a mininum it means that you must write unit tests for the database layer AND tests for the database logic. Whereas if you test using the real database then you are in fact testing both.
And that is made much similar if you generate the database layer and the database layer unit tests starting from the db schema.

Similar Messages

  • Email setup for Test Workbench

    Hi
    I am looking to setup Email notifications for Test Workbench.
    Such as, automatically emailing testers when Test packages are assigned
    Emailing Developers when a Test Problem Report is created.
    How do i do this? Does anyone have any documentation they can share?
    Really need some help.
    Many thanks

    Yes Ramesh,
    By setting up ChaRM the following actions can be triggered automatically,
    1) When a requestor creates support message based on an error, service desk employee will be notified automatically
    2) A developer will be notified when a change manager in the service desk assigns a developement task assigns.
    3) When the developer completes the task, change manager will be notified again.
    4) Then, a tester will be notified when change manager assigns a tester.
    and many other things also there in the sequence.
    Regards,
    Satish.

  • How to simulate a DAQ device and use it for testing applicatio​ns without hardware??​?

                            how do i simulate a DAQ device
    in MAX and use it for testing applications without  hardware???
    If my application requires inputs
    from external hardware to proceed how can I simulate a DAQ device in LabVEIW?
    i need to simulate several Digital inputs and Outputs to test the software. currently i dont have the hardware and DAQ device here. 
    please reply with your valuable suggestions. 
    many thanks in advance
    RENN 
    Kudos always welcome for helpful posts
    Solved!
    Go to Solution.

    Hi,
          There is no option to simulate traditional device.You need hardware for that so i would suggest to simulate a PXI device which has similar configuration to PCI-6014 and to do a small modification to your application..

  • Crane Aerospace and electronics is looking for Test Engineers with LabVIEW experience - please disregard previous post.

    Here is the correct post:
    Are you detail-oriented, creative, and technically skilled at Engineering design and development?  Come to Crane Aerospace & Electronics and use your excellent Engineering skills to design, improve, and deliver the next generation of products in the aerospace and electronics Industry!
    We have a unique and exciting career opportunity for Engineer II, Test.
    You will be responsible for maximizing new product development and manufacturing performance through the creation and deployment of test strategies, tools, and plans.  Design and implement high performance hardware and software for test equipment.  Authoring test procedures and performing Qualification test activities.  Ensure high product quality.
    Responsibilities:
    Collaborate with customers and multi-disciplined engineers to establish/clarify test, qualification, verification and validation requirements.
    Write test plans, procedures, requirements and reports in a highly structured environment.
    Analyze, develop and deploy complex and high performance test hardware and software solutions for automated test equipment. 
    Design, develop, debug, validate & verify the fabrication of manual and automated test equipment at the circuit board and system level, and specify and procure COTS test equipment.
    Develop/maintain hardware documentation including block diagrams, schematics, BOMs, wiring diagrams and wiring lists, software documentation, and configuration control of initial release and updates. 
    Perform detailed calculations to establish test equipment specifications and design margins.
    Maintain existing test systems through bug fixes, improvements and modifications.
    Support the estimation of costs and schedules to develop or upgrade test platforms.
    To perform a number of the above responsibilities with limited supervision.
    Minimum Requirements:
    Experience: 2-5 years.  Previous work experience in aerospace, space or medical electronics industry preferred.
    Knowledge: Microprocessor / Microcontroller hardware and firmware design; Analog Circuit and power supply design; Digital Circuit Design including high-speed serial communication design; Firmware programming in c; Schematic Capture, PADS Logic preferred; Circuit Simulation; Fundamentals of magnetic proximity, temperature, and pressure sensing electronics; ESD; Familiarity with testing standards (MIL-810, MIL-704, and DO-160 preferred).  Basic laboratory test equipment; LabVIEW experience, certification preferred; Developing hardware per DO-254 and software per DO-178 preferred; Experience with Adobe FrameMaker, IBM Rational tools, TestStand, Microsoft Project preferred.
    Skills: Good interpersonal and communication skills (verbal and written)- effectively lead and/or participate in multifunctional teams in a dynamic work environment. Ability to manage multiple tasks, flexibility to switch between tasks and prioritize tasks. 
    Education/Certification: Bachelors Degree in electrical engineering, computer science, physics or related technical discipline.
    Eligibility Requirement: Must be a US Person (under ITAR rules) to be eligible.
    Working Conditions:
    Working conditions are normal for an office/manufacturing environment. Machinery operation requires the use of safety equipment to include but not limited to safety glasses, heel straps, and shop coats.
    Requires lifting 25 lbs
    Apply online today: http://ch.tbe.taleo.net/CH06/ats/careers/requisition.jsp?org=CRANEAE&cws=5&rid=3170
    Crane Aerospace & Electronics offers competitive salaries and outstanding opportunities for career growth and development.  Visit our website at CraneAE.com for more information on our company, benefits and great opportunities.
    In our efforts to maintain a safe and drug-free workplace, Crane Aerospace & Electronics requires that candidates complete a satisfactory background check and pass a drug screen prior to employment.  FAA sensitive positions require employees to participate in a random drug test pool.

    How can you say you are hiring test engineers with LabVIEW, yet the job description doesn't even mention LabVIEW.  All I see in there is CAD design.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Using MS FileSharingTestSuite for TESTING a LINUX Based SMB/CIFS implementation.

    Hi,
    I was trying to setup the MS File Sharing test suite for testing the below implementation.
    Could please let me know if this use-case is supported. If not could please point me to
    resources [Microsoft] which could help achieve this purpose effectively.
    I want to test CIFS File server implementation running on Linux [SUSE Linux - Open Enterprise Server]
    The client accessing the file services from above
    CIFS server implementation is vastly
    Windows clients.
    Though would like to know ways of testing if the client is a Linux based desktop or a Mac based client as well in future.
    For the above setup details I would like to know if and how we could create a "Driver
    Computer" setup mainly. So we could use the File Sharing test suite to test against this Linux based CIFS server implementation.
    And also the details on setting up the  'System Under Test (SUT)' , if any changes required[from what is documented in the "FileSharing_ServerUserGuide]" to
    achieve the above.
    Could kindly point me in the right direction to help achieve the above testing purpose.
    Please let me know in case any details are required to help resolve the query.
    Thanks for your time and help.
    Regards,
    Kavitha A

    Hi,
    Thanks for your time.
    I am actually talking about using file sharing test suite provided My microsoft for testing a Linux Based CIFS/SMB implementation.
    I have got my query answered via Mail from Microsoft dochelp team. hence marking this as resolved.
    Posting the response /resolution from DOcHelp team on this thread for benefit of anyone looking for similar information/understanding:
    If you are testing in a Workgroup scenario you need a Driver Computer and the System Under Test (SUT) computer.
    In a domain-joined scenario, you need a DC somewhere in your environment to join the machines.
    The guide document that comes with the test suite package provides guidance on what needs to be configured in each scenario.
    The Driver Computer is the Windows machine where the synthetic test suite runs and simulates a client by emitting the protocol packets. The client sends packets to the file server
    (the SUT) to test the server implementation of the protocol.
    The SUT implements the server side of the protocol and the SUT can be running on any operating system.
    For your convenience, you can setup a Windows SUT just for the purpose of understanding the test configuration on the driver client.
    The document has instructions for Windows SUT and guidelines for non-Windows SUT as well. In your case, it’s a non-Windows SUT. You need to configure your server where your file
    server implementation is running and setup the Driver computer to test your SUT.
    I understand that your ultimate goal is to setup your own SUT on the SUSE Linux server.
    Many customers have setup SUTs on CentOS, Ubuntu, etc. The flavor of the operating system is not relevant as such. The client simulator talks the SUT by following the protocol
    packets.
    Please go through the document step-by-step and I am sure it will come together.
    Let’s me know whether you have any further questions.
    I am not looking at CIFS share access from a Linux system. Otherwise would have posted in relevant Linux forums If looking for the same information. Thanks again for taking time to help though.

  • How can I redirect a request for testing?

    There is no internet access on the development machine and I have written for testing purposes a servlet to simulate a web server that my app accesses.
    However I need a program or way of redirecting a (secure and non-secure) url request to the local host.
    i.e. the application calls either:
    http://www.thewebsite.com/foo?bar=1
    or
    https://secure.thewebsite.com/foo?bar=1
    which is then redirected to:
    http://localhost/thewebsite/foo?bar=1
    How can this be done?

    Hi, thanks for the replies. I thought about that
    (it's a windows machine) but there is still a couple
    of problems.
    1. I can't specify the sub-directory can I?No, but your webserver can prob. do that.
    2. I want to handle a secure request but have it also
    go to the same locationssl would have to go to ssl. But setting up ssl normally is not too hard.

  • IPhoto - My iPhoto is not responding. When I click on iPhoto I get a never ending spinning beachball.  I almost think it is looking in the wrong place for the pictures.  How do I redirect it back to the Mac hard drive?

    My iPhoto is not responding.  Whenever I click on the iPhoto icon I get a twirling beachball.  It is as if the machine is looking in the wrong place for the photos.  How can I see where the machine is looking to find out if this is really the problem.  How can I see the path?

    Try this:  launch iPhoto with the Option key held down and create a new, test library.  Import some photos and check to see if the same problem persists. If it doesn't then the problem lies with your current library.
    If that's the case  Apply the two fixes below in order as needed: 
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start with Option #3, followed by #4 and then #1 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • Using secatt for testing entire cycle

    How can we use SECATT tool for testing the entire series of transactions to be used in logistics functions?
    Example :
    rfq
    acceptance/rejections
    purchase order
    goods receipt
    invoice verification
    goods issue
    inventory posting/stock transfer
    all in a sequence?

    Hi Chintan Chande,
    Create eCATT scripts for each transaction and export the needed values in each script and use them as input variables in the next scripts.
    Like, Script P_Order for PO, take the PO number and create a GR WRT to PO number.
    Like wise you could link all your scripts to form a Scenario.
    After creating individual scripts for each transactions, then create a master script wherein you encapsulate/refer all of them in here..
    Like  REF ( RFQ , RFQ_1 ).
    REF ( INVENTORY , INVENTORY_1 ).
    Also, following is the link of a weblog on SDN which gives step by setp details about chaining. It also explains the terms used with necessary details -
    /people/sapna.modi/blog/2006/04/18/ecatt-chaining-parameterization-creation-of-test-datatest-configuration-system-data-part-iv
    Also, you may also use this thread for your reference.. Though this is not exactly what you are looking for, but it would help you in your case even.
    How to store export parameters in eCATT?
    Hope this helps..
    Best regards,
    Harsha
    PS: Reward points if this answers your query.

  • Report available for test cases (manual test script files uploaded)?

    We upload our test script files to the "Test Case" tab, assign it a status.  We are hoping to have a report that would report all test case files and their STATUSES.
    In solar_eval, there is a standard SAP report for test case provided.  However, the field "Status" for the test case file is not included in this report.
    Is there any report available that would give us this status?  If not, in which table does this data come from?  Is there anyway to build a simple SQVI query to extract the list of test cases and their statuses?
    Any help is highly appreciated!

    Hi Jo,
    It's not entirely clear on whether you are look for 'Status' values of the Test Case document itself OR for 'Status' values of the Test(s) conducted on such Test Case documents.
    I believe the following two SOLAR_EVAL reports should resolve either ways:
    (a) SOLAR_EVAL -> Project -> Configuration -> Assignments -> Documentation (Programme called is SAPLSPROJECT_SOLAR_DOC_EVAL_IM) , Tick only 'Test Cases' and switch off other tabs
    (b) SOLAR_EVAL -> Project -> Test -> Test Plan Status Analysis
    Best regards,
    Srini

  • Deauthenticate User on WLC w/ ISE for Testing

    ISE v1.1.1.268
    WLC v7.2.110.0
    We have a wireless deployment using ISE and WLC's configure for LWA. Seeing that CWA has fewer "moving parts" I was trying to migrate to that. When testing my deployment under LWA, I could de-authenticate a user simply by finding the association on the WLC and removing it. Then, when that device would reconnect to the WLAN, it would prompt them for credentials through the WebAuth pages.
    After configuring a WLAN for CWA I noticed that when I remove an association from the WLC in the same manner that the upon reconnecting to the WLNA the user never gets redirected to the WebAuth pages. I'm assuming this is because since the authentication takes places on the ISE server, rather than on the WLC (in LWA mode) that the authentication is still active (since I only removed the association on the WLC).
    I looked around on ISE, but couldn't find a place to view active user authentications let alone remove those authentications. Can this be done? It'd be great for testing to make sure the WebAuth pages function as I need them to.
    I used this guide to set up CWA: https://supportforums.cisco.com/docs/DOC-26442. The only exception to following that guide is that I used an authorization profile that sets the auth timeout to 36000 seconds.

    I don't have profiler.
    I can see all of the profiled endpoints, however. I've tried removing the endpoint I was testing with, but it doesn't help. When the client reassociates, the Policy Manager State goes straight to run even though ISE has only responded with the initial Authorization profile and not the CoA.

  • Looking suitable CRM data source for Marketing Plan & Campaign

    Hi Experts,
    I'm a BI guy & looking suitable CRM data source for Marketing Plan & Campaign.
    and the related base tables from where it picks the data.
    I saw two DS,
    0CRM_MKTPL_CAUSAL                 Extraction of MDF Causal Data
    0CRM_MKTPL_VO_TRANS               Vouchers Usage extraction
    but not sure if it is correct one .
    and also a DS 0CRM_SALES_ACT_I                  Activity Item
    here business has created some test data for Market Plan & Campaign which i can see using Tcode crmd_order but could not able to see the same data in RSA3 from  0CRM_SALES_ACT_I  .
    Please hekp me.

    got the solution!

  • Install 11.1.2.4 on a single server for testing

    I am not sure if anyone has installed 11.1.2.4 on a single server. If so can you please assit me. We are trying to consolidate some servers and would like to use a single server for testing of 11.1.2.4. Can this be done? Has anyone done this sucessfully or have any documents on how to do it on a single server.
    Any input would help

    If you are just looking for a quick environemnt to use for testing, and are not worried about the actual installation process, this might be useful:
    Hyperion Error of the Day: EPMVirt: Oracle Hyperion 11.1.2.4 Virtual Environment
    Nick

  • FAQ: DPA - Remote Access for test systems

    Welcome to DPA - Remote Access for test systems forum!
    This forum is actively monitored and moderated by SAP Integration and Certification Center (ICC).
    Frequently Asked Questions:
    ======================================
    Q1: Where can I learn more about Developer Package Service (DPA)?
    Q2: How can I apply for the regular DPA service?
    Q3. How many SAP systems can I access under the regular DPA service?
    Q4. How can I have access to a non-shared SAP system?
    ======================================
    Q1: Where can I learn more about Developer Package Service (DPA)?
    A: Please take a look at ICC's web page on SDN:
    https://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/15330f73-0501-0010-d59e-8a32e220b2ed [original link is broken]
    Q2: How can I apply for the regular DPA service?
    A: Please go to http://www.sap.com/partners/apply and fill out the application form.
    Q3. How many SAP systems can I access under the regular DPA service?
    A: Up to 3 SAP systems, which are shared among all DPA users.
    Q4. How can I have access to a non-shared SAP system?
    A: Please go to http://www.sap.com/partners/apply and apply for the exclusive-use DPA service.
    Message was edited by: Chung-Ho Fan

    https://discussions.apple.com/thread/5294202?tstart=0
    Something you should be aware of is the frequency of IP address change at your father's location. Providers of residential broadband services lease an IP address for a certain duration which you have no control over and is purely arbitrary. You may be familiar with these changes?
    The point is sometimes these addresses change regularly (4 hours to every few days) and sometimes they stay the same for a longer period of time such as a year or more.
    Because of the nature of this change you may find you can remote assist your father one day but not the next. The situation is easily rectified with a simple phonecall to your father. He can tell you what IP address he's using by launching his browser and clicking this link:
    http://myipaddress.com
    He gives you his new IP address and you should be able to make a successful connection again.
    Be aware IP addresses handed out by ISPs are known as routable. IP addresses handed out by Firewalls/Routers/Gateway devices such as Apple's Airport Express Base Station etc are not routable. Assuming you've not changed anything in the devices they will always be one of these three ranges: 192.168.1.x; 10.x.x.x and 172.16.16.x. You don't use any of these last three group of addresses to make the connection over the public external (internet) network but you do use them when on the same private internal network.

  • Software for testing C code

    I am a master student of Computer Science, I want to develop a program for testing soucre code in C (software metrics).
    Can anybody tell me, any free application to download or any free source code or any guidence.

    try looking for software metrics stuff in sourceforge. That sounds pretty high powered (I have not even heard or seen anything like that around) but sourceforge may be a good place to start.
    www.sf.net
    Hope that helps.
    Jason

  • How to generate specific traffic types for testing?

    Hi all.
    Is there a good tool or tools (Windows-based) for generating and testing traffic through specific ports to a remote host?  I know what I am asking for but not sure how to put it into the right words, so here' s an example.  Normally in a situation where if I set up a router with some NAT and a zone firewall, and want to test whether the outside world can get to a web server internally, I would attach a real web server to the inside interface, set up the rules and policies to reach it, and then test from a laptop or PC attached in some way to the outside (Internet) inteface. 
    But I don't always have a web server to plug in, and this says nothing about other protocols I'd want to test.  For example ntp protocol on udp 123. 
    So ideally I would take two laptops and install the testing tool on each, plug one into the LAN and the other to the outside thus simuluating some random Internet host, and then they can talk to each other over any port or protocol they allow for and show the results. 
    Not sure why I can't seem to articulate this very well today but I hope I'm getting the idea across.  I'm not looking for a port scanner or something but rather a tool for testing end-to-end success of communication between two systems over an intermediiary device (router), over certain ports or protocols. 
    Thank you!

    I looked over quite a few in there, would still need to download and test.  Seems there are a lot of home grown tools by university engineers out there
    Unfortunately iperf isn't Windows-based which is what I need for this scenario but it does look very intreesting in itself.
    I did find that nmap has nping which employs an echo responder so hopefully it can do more than just icmp.  Nonetheless that whole list has very interesting tools which I'll review in more detail when time permits.
    Thank you! 

Maybe you are looking for

  • Is there a limit on the size of an array?

    I have two arrays: array1 and array2. I have a function that is iterating through array1. If an item in the array matches a particular condition, then that item is pushed onto array2. I can successfully push up to 19 items onto array2. However, if I

  • HT1689 When is the release date for iPhone 5?

    When is the iPhone 5 releasing? Is it Really gonna release?

  • Billing once service has been terminated

    I have received a bill and been threatened with late charges if it is not paid for the period on 1 month from mid december 2014. I was out of contract from August 2014 and contacted EE to switch to them in mid november. The change over from BT was co

  • Iscsi lun (devise/disk)naming issue

    disk naming issue ,showing two different names in format and powermt output in format the emc lun pseudo name comes as emcpower0d in powermt o/p Pseudo nameas emcpower0a bash-3.2# echo|format Searching for disks...done c7t0d0: configured with capacit

  • Verizon Jetpack Usage doubled overnight!

    I have 18G Usage, but this Past Month Bill, billing cycle January 17th to February 17th 2013, I  just received No Usage warnings! Never saw a 50%, 75%, or 90% usage Percentages!!! grrrr and then I got and OUTRAGEOUS Bill saying I used 40G = $474.14 I