Access data source from plugin

I have a recorded webtest. I added a csv file as data source in WebAndLoadTestProject. Now I added a PlugIn which containing several class for pre/post request override method. I want to access that added csv file as source of data and want to assign value
to context parameter or URL parameter created under request. From msdn blogs I did not find any solution. 
What I want to know...
1. Is it possible to access data source files which is in WebAndLoadTestProject from PlugIn? How??
2. How can I assign context parameter with data from data source?
Thanks to every one...
R

Thanks for Adrian's help.
Hi SCRana,
Based on your issue, I know that it is possible to access data source files which is in WebAndLoadTestProject from PlugIn.
I find a similar thread about your issue, please refer the following thread to check this issue.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/a22708ec-77de-4851-84d3-f0096683c009/data-from-the-datasource-in-plugin?forum=vstswebtest
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Problem while displaying all the table names from a MS Access Data Source.

    I started preparing a small Database application. I want to display all the Table Names which are in the 'MS Access' Data Source.
    I started to executing by "Select * from Tab" as if in SQL.
    But i got an error saying that "Not able to resolve Symbol 'Tab' in the query".
    Please let me know how can i display all the table Names in the MS Access Dats Source.

    Here i am developing the application in Swing using JDBC for accessing the database.
    I want to display all the Table names from the data source in a ListBox for easy selection of tables to view their details.

  • Access odbc data sources from PL/SQL

    Dear All,
    I would like to know is there any way where i could access odbc data sources from pl/sql (i.e i would like to insert, update records into MSAccess table from pl/sql procedures, triggers). Would appreciate any help regarding this.

    The only way I know of how is to write and external function library and use that to access ODBC datasource ...if someone else knows something else I would be interesting in hearing about that also.

  • Access data sources supporting Tuxedo

    WLS 5.1 states that it does not support two-phase commit.
    In fact, if I try to establish two connections to different Oracle
    databases within the same entity bean or session bean within a
    transactional context then an exception is thrown.
    I need to perform updates to two different resources, the first is an
    Oracle database and the second is a Clarify CRM database.
    The problem is getting the updates to both resources done atomically.
    The Oracle database has a layer of EJB's and will run inside WebLogic.
    The Clarify system only comes with a Java Bean interface (not an EJB
    interface).
    Obviously, at some point a connection needs to be established to the
    underlying Oracle Clarify database and I suspect that the Java Bean
    interface that Clarify provides will perform any transactional stuff per
    method call. Although we may be able to detect Clarify problems through
    exceptions thrown from the Java Bean methods, presumably for each
    successful Java Bean method call the underlying data source changes
    associated with it will be committed. Any subsequent Java Bean method
    call that fails can too be detected but we have no way to roll back the
    changes made in the previous method calls. This is obviously a typically
    transaction based problem.
    So, Clarify supports BEA Tuxedo, presumably for this purpose. Perhaps
    someone can confirm, but I think that BEA Jolt provides a Java API to
    BEA Tuxedo. Is this the currently recommended way to communicate with
    Tuxedo? And does Jolt simply provide the equivalent XA methods such as
    transaction start, prepare, commit methods etc?
    I mentioned at the start that an exception will be thrown if an attempt
    is made to open more than one database connection. Presumably, the
    container will not be able to detect this if the connection is retrieved
    in an independent Java class that is not part of the EJB? this is
    important as BEA Jolt or the underlying Java Bean classes must at some
    point establish a connection.
    If Jolt provides this type of interface then presumable I could have a
    stateless session bean that updates the first Oracle data source through
    the EJB's and then simply starts a transaction using Jolt, then applies
    the clarify changes using the Java Beans and then can use the two-phase
    commit capabilities of Tuxedo to 'prepare' the Clarify changes. If the
    prepare fails then a system exception will be thrown to rollback the
    changes to the first data source, otherwise Jolt will be used to tell
    Tuxedo to commit the changes and then the first data source will be
    committed when the session bean method completes.
    One drawback that I can see is that the transactional calls to Jolt will
    be hardcoded in the beans and not controlled by transactional
    demaraction in the deployment descriptors so we would need to be careful
    when the transactional boundaries changes in the deployment descriptor.
    I can't see how Weblogic 6.0 can assist us here as we don't have an EJB
    intterface to Clarify.
    How does the J2EE Connector stuff fit into this?
    Anyone interfaced with Clarify through Jolt/Tuxedo - is the perfromance
    adequate?
    Many thanks in advance

    Hi,
    You can also have a look at Metalink Note:150766.1 :- Subject:      How to Access a JDBC Data Source From OC4J Using a JNDI Lookup
    Regards,
    Sandeep

  • CF 10 - IIS 7 - Set up an Access Data Source

    How do we set up an Access data source with CF10 and IIS 7 in a 64 bit environment.  
    I have been away from CF for several years and things are a little different now.
    I keep getting     
    Unable to update the NT registry.  Variable DRIVERPATH is undefined.
    -thx

    ColdFusion doesn't support MSAccess in 64bit. Additionally, Windows doesn't currently ship with a MSAccess .accdb driver.
    Please refer to http://blogs.coldfusion.com/post.cfm/coldfusion-10-64bit-and-msaccess

  • Error in generating data source from planning area

    Hi experts! I have an error while making data source from planning area:
    after the screen when i fill in the data source name (Window name: Generate export data source) i have the SYNTAX_ERROR Message:
    Syntax error in program /sapapo/cl_im_extract_ex======cp
    the main reason: the type /BI0/9A0IVWKNDGD is unknown
    what you can suggest to solve this problem?
    Thanks.

    Dear Andrey Kudriavzev,
    The reason is the program is trying to use the datatype '/BI0/9A0IVWKNDGD' which does not exist in the system.
    Go SE11 to cross check if it exists. Check dataelement radiobutton -> enter /BI0/9A0IVWKNDGD -> Choose display option. You would need to create this datatype in the system. I feel there must some OSS Note related to this.
    Search for an OSS Note. Raise one if you cannot find the relevant notes.
    Regards,
    Naveen.

  • How To change UME Data source from Abap to Java.

    Hi Experts,
    Can any one give me Detailed Steps of how to Migrate from UME Data Source from Abap to Java, as the Ume Data Source is initally configured for Abap.
    Regards,
    Siva

    Siva,
    Please search before you post a question.
    This has been discussed many a times in here. Please refer to this [thread|To change ABAP UME database to Portal database;.
    Good Luck!
    Sandeep Tudumu

  • Replication of Data Source from APO to External BI

    Hi Experts,
    I want to create a data source on DP/SNP planning area & replicate it directly to External BI instead of APO BW. Is it possible to replicate data source from APO to directly External BI? If yes then How?
    Regards
    Sujay

    Hi Sujay,
          If you would like to replciate a particular Data source then Go to BW -> TCode RSDS ( Data source Repository)
    Data Source = ( specify which you would like to replciate )
    Source system = Specify source system name.
    Go to Menu option Data Source -> Replicate Data source or you can use CTRL + SHIFT + F2
    These steps will replicate only the data source which you would like to replicate.
    Thanks,
    Siva.

  • Transporting migrated data sources from BID to BIQ

    All,
           I have a 3.x data source which I have migrated to 7.x. Now I want to transport this from BI-D to BI-Q. when I replicate the data source in BI-Q this is likely to be 3.x data source. Will it be overwritten when I transport the data source from BI-D to BI-Q. Is there any thing that I will have to do before moving the transport. Please advise

    If you transport the DataSource on R3/ECC from development to QA that's connected to your BW QA, and then transport the DataSource from your BW development to QA environment, there is no need to replicate the DataSource. It may, however, come into your BW QA environment in a deactivated state. If that happens, just activate it in the BW QA environment using the SAP delivered ABAP program RSDS_DATASOURCE_ACTIVATE_ALL.

  • How do I enable "Access data sources across domains" in firefox?

    Couple of links do not work on my firefox however they work fine on IE. This is because the "Access data sources across domains" is enabled in IE and i am not sure on how to make this setting enable on Firefox as well.
    Please provide the steps to enable "Access data sources across domains" setting in Firefox.
    Please help!

    This should add the permanent exception:
    [https://support.mozilla.org/en-US/kb/connection-untrusted-error-message#w_bypassing-the-warning Connection Untrusted Error Message: Bypassing the Warning]
    However if it is not staying until the next time that the user opens up Firefox, is it possible that they are in permanent private browsing? [[Private Browsing - Browse the web without saving information about the sites you visit]] - that should have instructions to get in and out of it.

  • How to use Sql data source from Essbase 9.3.1

    Hi All,
    How to use Sql data source from Essbase 9.3.1 for ASO cube.Are there any rules and limitations for that.
    Do we need to create any data source connection for this purpose. If there please let me know the dteps to create that connection.
    Regards

    Yes you need to create one DSN connection and you have to use DSN name and login details at the time of building/loading of the outline.
    Create DSN
    Goto Administrative tools -> DataSources (ODBC) and add the DSN name and specify the Server name of SQL and login details and database.
    goto data prep editor and click on File Menu and Click on Open SQL option Next window opens.
    There you have to enter the details of the DSN connection and SQL query to build/load.
    Thanks,
    Prathap

  • Do not Extract from PSA but Access Data Source (for Small Amounts of Data)

    Hi Experts,
    In the DTP, the above option is available for Full Loads for certain extractors but not for others, particularly, certain HR extractors?
    Is there a way to make it available for HR extractors?  Is there a setting that needs to be updated in ECC or in BI?
    Thank you for your help!

    Hi,
    There is no special setting for this, Please see the detail description:
    Data is not extracted from the PSA for the DataSource; it is requested from the data source directly at DTP runtime.
    Use
    You use this mode for small data sets and full uploads, for example, small sets of master data. With file source systems, note that the file has to be available on the application server.
    Dependencies
    You do not have to create an InfoPackage in order to extract data from the source.
    Data in the data source is accessed in "direct access mode". This has certain consequences, especially if you are extracting data from SAPI systems:
    Data is extracted synchronously. This places a particular demand on the main memory, especially in remote systems.
    The SAPI extractors may respond differently than during asynchronous load since they receive information by direct access.
    SAPI customer enhancements are not processed. Fields that have been added using the append technology of the DataSource remain empty. The exits RSAP0001, exit_saplrsap_001, exit_saplrsap_002, exit_saplrsap_004 do not run.
    If errors occur during processing in BI, you have to extract the data again since the PSA is not available as a buffer. This means that deltas are not possible.
    In the DTP, the filter only contains fields that the DataSource allows as selection fields. With an intermediary PSA, you can filter in the DTP by any field.
    Regards,
    Kams

  • Problem in accessing Data Source Deployed in JBoss using JNDI

    Hi everybody!
    I need your help in the next question:
    I have created a data source to connect to my MySql data base using the following entry in mysql-ds.xml (JBOSS 3.2.5)
    <datasources>
        <local-tx-datasource>
            <jndi-name>MySqlDS</jndi-name>
            <connection-url>jdbc:mysql://localhost:3306/mytest</connection-url>
            <driver-class>com.mysql.jdbc.Driver</driver-class>
            <user-name>root</user-name>
            <password>1</password>
        </local-tx-datasource>
    </datasources> in Eclipse SDK 3.1.2 i trying get access to the datasource
    InitialContext initialContext = new InitialContext();
    DataSource  ds = (DataSource)initialContext.lookup("java:/MySqlDS");
    if (ds != null) {
        result = ds.getConnection();
                       System.out.println("OK");
        else {
             System.out.println("Failed to lookup datasource.");
        } http://localhost:8080/jmx-console service = JNDI name equal "java:/MySqlDS"
    I have error "Cannot get connection: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial"
    Error happen in
    DataSource  ds = (DataSource)initialContext.lookup("java:/MySqlDS");I trying
    DataSource  ds = (DataSource)initialContext.lookup("MySqlDS");and i had such error.
    Can anybody help me?

    hi,
    please check is your error corrected
    public class DBConnection {
         static DataSource dataSource = null;
         * To get the datsource
         public static DataSource getDatasource() {
              InitialContext ctx=null;
         if (dataSource == null){
         try {
              ctx=new InitialContext();
    dataSource = (DataSource) ctx.lookup("java:/MySqlDS");
         } catch (Exception e) {
         System.out.println("eror in DataSource class"+e);
         try {
         ctx.close();
         } catch (Exception e) {
              System.out.println("eror in DataSource class context closing"+e);
         return dataSource;
         * To get connection from Database.
         public static Connection getConnection() {
                   Connection con = null;
                   DataSource dataSource = null;
                   try {
                        dataSource =getDatasource();
                        con = dataSource.getConnection();
                   } catch (SQLException e) {
                        e.printStackTrace();
                   } catch (Exception e) {
                        e.printStackTrace();
                   return con;
    if you want a connetion then call Connection con=DBConnection .getConnection()
    hope this helps you

  • OBIEE 11.1.1.6.2 BP1 64-Bit - Define MS Access Data Source

    Hi
    On our 11.1.1.6.2 BP1 64-Bit OBIEE installation I'd like to define an ms access db as data source. We had that in OBIEE 10G too but there it was an 32-Bit ODBC-Source.
    It seems that OBIEE 11G only accepts 64-Bit ODBC-sources. But for 64-ODBC there aren't any existing ms access drivers.
    Did anybody deal with the same problem and found a solution for it?
    Regards

    Hi,
    you download AccessDatabaseEngine_x64.exe and install it then you can able to find it excel data source in 64bit version. (we too faced this issues few years back and test with windows server 2008) working fine.
    you can download from below link
    http://www.microsoft.com/en-us/download/details.aspx?id=13255
    Thanks
    Deva

  • Automatic Creation of ODBC Data Source From Within Java App

    Good Day Good People :)
    I was wondering if it were possible for a java application to automatically set up an ODBC data source for a JDBC connection in a windows environment.
    This is the method I call to initialise a connection to my database:
    public void initialiseLocalConnection ()
    url = "jdbc:odbc:ICUDB";
    try
    Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
    icuCon = DriverManager.getConnection (url);
    catch (Exception e)
    JOptionPane.showMessageDialog (null, "Error Creating Connection to ICU Database!\n" +
    "Please set up an ODBC data source pointing\n" +
    "to the icudb.mdb file located in the data\n" +
    "folder of the ICU directory and call the\n" +
    "connection 'ICUDB'.", "Database Connection Error", JOptionPane.ERROR_MESSAGE);
    Is it possible to create the ODBC data source ICUDB if it does not exist from within my application.
    All information regarding the possibilty and the application of doing this would be greatly appreciated.
    Kind Regards
    Matt

    Thank you.
    During my search I for dsn-less connections I found the soloution:
    url = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=" +
    System.getProperty ("user.dir") + System.getProperty ("file.separator") +
    "data" + System.getProperty ("file.separator") + "icudb.mdb";
    try
    Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
    icuCon = DriverManager.getConnection (url);
    This works.
    Thanks for the replies.
    Matt :)

Maybe you are looking for

  • Issue in Java system installation: MS SQL 2005

    Dear All,    I am installing a  SAP Netweaver '04 SR1 , Java system with data base MS SQL 2005. I am facing the issue hereby i will attach the jload.java.log file. Can any one help me out in fixing it? java version "1.4.2_16" Java(TM) 2 Runtime Envir

  • B2B Message Error - Decrypting S/MIME message failed

    Hi, Am getting following error when i receive the inbound message from trading partner I have set up the certificates on both sides. [2010-04-15T19:53:18.981-04:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkMan

  • How do I create an HD-SD hybrid movie file?

    I want to be able to create HD/SD hybrid files like the ones you automatically get when you purchase HD items from the iTunes store. I have several home-made band videos that were shot with my HD camera, but I want to also keep them on my ipod, but I

  • Is this is best practise

    Hi, I have a class called CustomDocument , to which i pass a URL, this will inturn call two methods getW3cDocument and splitDocumentIntoFields, these two methods parse the document and populate the hash map accordingly with necessary values. I was su

  • Dynamic configuration of receiver communicaton channel?

    I have files, Header line tells which server it should go.(Like ip address and port). How can dinamically configure the receiver communication channel. Thank You Ganges Leaves