Contributions
Re: Error java.lang.NullPointerException: Connot invoke method get() on null object error at line: 14
groovyguy, Its failing to create the cookie. Without the cookie the assertions fail. In my original post I attached the code and error message6 years agoPlace ReadyAPI QuestionsReadyAPI Questions3KViews0likes1CommentError java.lang.NullPointerException: Connot invoke method get() on null object error at line: 14
Hello, I am getting the following error when trying to run tests on my Production environment: Error java.lang.NullPointerException: Connot invoke method get() on null object error at line: 14 The weird part is I can run these tests succufully on my Dev, QA and UAT environments without an issue. The other strange thing is I am using this Test Step in multiple testcases. I have around 100 tests in my stuite, and roughly 15 are failing on the same TestStep in Productionenvironment only. The tests are GET calls. I have attached the error message and code. Thanks!3.1KViews0likes7Comments