I have a script in python with 1 test in it. The test calls other functions from different class in the project which generate differeydata each time to be send through the post request in the test. I want to run this test using the k6 tool, for 5 users for example. Is it possible? Or only Javascript
Can I run python script with test using k6 tool?
1.4k views Asked by 123josh123 At
1
There are 1 answers
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
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?
Related Questions in K6
- Load testing k6 browser + docker
- K6 scenarios to generate specific request per second rate
- The moduleSpecifier \”/tests/load.js\” couldn’t be found on local disk
- Issue with K6 Operator and Cloud NAT connection count during stress testing
- Module not found: Error: Can't resolve in Webpack
- k6 : panic: runtime error: invalid memory address or nil pointer dereference : docker run
- K6_PROMETHEUS_RW_SERVER_URL with token
- is it possible to use "executor"in k6 options in default scenario? that is without specifiying "scenarios"
- 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?
- Prometheus: Changing unit on Y axis
- How to use k6 for lower/reduced bandwidth transfer speed testing scenarios
- Webpack has been initialized. k6 project
- K6 each VU with own test data
- How can i fix error for npm package k6 in nodejs project
- How to send 1 request per 5 mins to store bearer token
Related Questions in ENTITY-FRAMEWORK-6.4
- Entity Framework error "Could not find stored procedure ''"
- EF 6.4.4 Multiplicity constraint violated. The role 'SaleDetail_Ledger_Target' of the relationship 'BLL.SaleDetail_Ledger' has multiplicity 1 or 0..1
- EF Map to ValueType throw Exception " Only parameterless constructors and initializers are supported in LINQ to Entities"
- Can I run python script with test using k6 tool?
- There was an error running the selected code generator: Unable to resolve service for type 'Microsoft.EntityFrameworkCore.DbContextOption
- EntityFramework 6.4.4 Code First "Update-Database -Script" generating incomplete sql Oracle devart driver
- Entity Framework 6.4 supports Second level (L2) result caching?
- Entity Framework gives error "Could not load file or assembly", "FileNotFoundException" every time whenever I reopen visual Studio 2019
- First Application using Code First EF 6.4.4 : SQL Server Connection error
- Does Entity Framework call property setters with null when rehydrating entities for columns with DB NULL?
- How can one convert between an EF model's conceptual info and its store info at run-time, even when MSL is in a resource?
- An attempt to attach an auto-named database for file [...] failed. A database with the same name exists [...]
- My EF6 relationship isn’t working where the ID > 1, what have I done wrong?
- How to configure ASP.NET Core 3.1 website with identity, authentication and authorization to use Entity Framework 6.4
- How to scaffold a dbcontext with the new EF 6.4?
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?
Popular Tags
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)
As of current version 0.42.0 it doesn't seem to be possible. If your machine has an SSH server running you can go for xk6-ssh extension to connect to the machine where your python script lives and run it.
Alternatively you can come up with your own k6 extension allowing execution of local commands.
However I don't think it's a viable approach because you're unlikely to get good results and metrics.
Maybe it worth considering migrating to Locust tool which is Python-based so you can write a Locustfile around your Python script logic and it will be executed with the given number of virtual users.
Check out What Is Locust Load Testing? for more information if needed.