I am trying to use PhantomJS for load testing website, but I am facing this problem, PhantomJS just loads website once, after that it does not actually hit it, I see that there are many discussion for people asking this feature for load testing purpose but looks like its not included in PhnatomJS yet. Did anybody ran into same problem? And what would be best way to overcome this? Also have anybody got success using Selenium WebDriver PhantomJSDriver for doing same? Thank you.
PhantomJS load same page multiple times does not work, cannot clear cache
1k views Asked by vaishali33 At
2
There are 2 answers
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in SELENIUM-WEBDRIVER
- Selenium Python - The element I'm looking for cant be found even though it exists in Yahoo Finance
- I am automating web scraping using python
- Linkedin API for median tenure
- How can I find a button element and click on it?
- Scrolling Instagram Followers Not Working
- Need Help Extracting Redirect URL from a div Element with Specific Class Name in Python Selenium
- Selenium clicked button but still getting error and exiting
- RSpec Capybara throwing Selenium error when trying to click a button with browser confirm
- beautifulsoup library not showing below #document data inside iframe tag in python
- Retreive a javascript variable from selenium (mutationobserver) to python
- C# Error: 'ExtentReports' is a namespace but is used like a type
- How to call Python function in JavaScript environment on Selenium?
- Run automated tests in parallel on desktop and mobile browser
- Optimizing Selenium script for faster execution
- Parse Dynamic Power BI table with selenium
Related Questions in PHANTOMJS
- Could not find an executable /home/ubuntu/.phantomjs/2.1.1/x86_64-linux/bin/phantomjs that matched the requirements '>= 1.8.1', '< 3.0'
- Download file with phantomJS R
- How do i set proxy for the GhostDriver (PhantomJS) at the fly?
- Extract string literal type of an interface's function's arguments
- "html-pdf: Failed to load PhantomJS module. You have to set the path to the PhantomJS binary using 'options.phantomPath'"
- I am using jasmine framework with Phantomjs. getting error while running test case "Expected an identifier but found 'jasmineRequire' instead"
- taking screenshot with RSelenium and phantomjs
- How can I use package RSelenium in a Shiny app hosted on shinyapps.io?
- Facing error in generating the chart using the sample test code mentioned in node-export-server git repository
- PhantomJS only rendering background image
- Why phantomjs does not load HTML page with <script type="module">?
- Cheerio/Phantom scraping not returning page/working as I thought
- How to create PDF from json file created by highcharter export_hc function
- Installing PhantomJS in R
- Rendering chart.js using phantomjs results in ReferenceError: Can't find variable: Chart
Related Questions in LOAD-TESTING
- Azure openai load testing mode
- How to generate random item from json file in yaml code for artilliery load testing?
- How to enter user input in jmeter console (without doing parameterization)
- How to export statistics from SoapUI load test via groovy script?
- In artillery can I run multiple scenarios simultaneously
- Why and how is the group time with a single http request less than the sum of the time of all parameters related to that http request?
- How can I save reference Id In Jmeter? and generate it new in each iteration
- Apache JMeter Load Testing - Load test over certain period of time
- Artillery - A lambda function has exited with with an error. Reason: artillery error
- Load Testing using Artillery.io
- Pod is handling all requests even when Keep-alive is set to False
- Is it possible to do Load testing on a Simulator?
- Recive [Errno 111] Connection refused on load test for TCP Server
- got MissingPropertException from Jmeter while using addArgument for http Request sampler
- How solve error 'Configuration result is immutable' using package loadtest with configfile?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I did by calling driver.executePhantomJs(javascript, "UTF-8") to clear the memory cache. or it can be done as below - driver.executePhantomJS("var page = this; page.clearCookies(); page.clearMemoryCache(); page.close(); return 'DONE';");