Padmanabh Sahasrabudhe

Ranch Hand
+ Follow
since Mar 04, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Padmanabh Sahasrabudhe

To make it more clear. Suppose I have a HA scenario where I have 5 instances of my application server should be installed in parallel and then run a set of tests. In this case waiting sequentially for 5 jobs to complete is time consuming. Triggering 5 jobs in parallel with one slave each may be a solution but not sure if I can have completion status as in put parametter from all the 5 jobs to a next job which will run the tests. So I was looking at a way to have the installation of 5 instances on 5 different machines through one jenkins job and then run the tests in the same job. I hope I am clear now. Thanks for link to Selenium Grid .
6 years ago
Thanks Jeanne.

By more than one slave I meant I can't use more than one slave in one job.

Imagine I start a job which requires silent installation of test server on more than one machine and then trigger automation tests in the same job. Is this possible with jenkins? I read the link you have given, but didn't get any explicit mention of this.

Thanks,
Padmanabh
6 years ago
Has anybody used any Jenkins plugin for HA kind of testing deployment setup on different machines?

Jenkins allows only 1 slave machine which can be used for standalone server testing automation setup.

But if I want to have a distributed setup on different machines is there any way available in Jenkins or other tool?

Regards,
Padmanabh
6 years ago
I have following code to which I pass j.testcase parameter. Somehow the value I pass for j.testcase is not picked up by the target run. I pass the parameter as ant run -Dj.testcase=Test2. Any comments?

7 years ago
Sorted out the column order issue. I am pasting the code here for others if ineterested. I used opencsv here.

7 years ago
I am having the following code which I expect to run on following csv file and print A,B,C in new file yourfile.csv. Somehow I see that I am entering a null record. Could anybody tell me whats wrong with following code?
ooordered.csv file
B,A,C
e,2,r
a,1,e
q,3,w

Code:

All,

I think I need to reframe my problem. I was behind a wrong issue. My issue is I have these two files

A,B,C
1,a,e
3,q,w
2,e,r

and
B,A,C
a,1,e
e,2,r
q,3,w

Technically, both of these files contains same data which I want to verify the same through my code. Winston, I am not generating data from Excel but thanks for your pointers.
7 years ago
I only wish to see if the rows which file 1 has are all present in file 2 or not. I need not retain them. The contents of the two files should same row wise.
7 years ago
Ritchie,

Not sure what you meant? Could you please demonstrate with little code? Also, how using maps will help me getting rid scenario where columns and rows both are out of order?

Thanks,
Padmanabh
7 years ago
Junilu,
ABC are column headers. But 1,2,3 need not be row headers since the order in which the data is exported is uncertain. Assuming I get consistent column order (say A,B,C everytime) I use following code. But I am not sure how to deal with it when it comes out of order (B,A,C).



Thanks,
Padmanabh
7 years ago
I get a csv file from an export utility which has different column order every time. For example the first time it may export the following csv file

A,B,C
1,a,e
3,q,w
2,e,r

The second time it may export the same file as following data:

B,A,C
a,1,e
e,2,r
q,3,w

I am not bothered about change in row order since I have a program which can compare the two csv files correctly even if they have rows out of order but I don't know how to overcome the change in column order. Is there a way to process this csv file and get another file of fixed column order?

Thanks.
7 years ago
Hi All,

I have two questions:

1] When I point the maven project in eclipse to the settings.xml I get a new Maven llibrary in the Java Build Path. I am not sure from where does the eclipse pick up these jars.

2] Maven at present is not recognising the environment variables I use in settings.xml and pom.xml. Right now, I have substituted them with hard coded absolute path. But is there a way to make maven understand the environmnet variables during designtime?

Thanks.
Hi All,

I went thru' the earlier question posted on the forum and applied all the workaround fixes in my code but I am still seeing this issue. Can anybody help me?


When I make this query I get one row returned from the sqlplus prompt.
I also tried using the column name instead of int 1 in getObject. Also how can I make sure that I close all the earlier resultsets and statement called from this code?
This is the stacktrace till my class it called:
java.sql.SQLException: Exhausted Resultset
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:445)
at oracle.jdbc.driver.OracleResultSetImpl.getObject(OracleResultSetImpl.java:813)
at oracle.jdbc.driver.OracleResultSet.getObject(OracleResultSet.java:458)
at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_OracleResultSetImpl.getObject(Unknown Source)

Thanks,
Sorry the full Stacktrace is:
Supports getGeneratedKeys(): true
java.sql.SQLException: Unsupported feature
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:445)
at oracle.jdbc.driver.DatabaseError.throwUnsupportedFeatureSqlException(DatabaseError.java:765)
at oracle.jdbc.driver.PhysicalConnection.createSQLXML(PhysicalConnection.java:8893)
at my.SQLXMLType.storeXMLDocument(SQLXMLType.java:58)
at my.SQLXMLType.getSQLXML(SQLXMLType.java:134)
at my.SQLXMLType.main(SQLXMLType.java:51)