Quantcast
Channel: [Q&A - FAQ Neotys] Last questions
Viewing all 2283 articles
Browse latest View live

How to validate the websocket request response

$
0
0

We were trying to evaluate Neoload for our application which also uses websockets.
Neoload Free Edition v 7.0.2

I have create a websocket channel and a request and when I validate it, it shows fine from the UI. The channel gives a response code 101. From this I assume that the connection is made and open. Then I send the websocket request. But I don't see a response for that. It still shows success in validation. But from the log4j logs I see some error which seems to be connected to this.
My agent logs don't show any error and it shows initialization and closing of the socket. Not able to get much information on this.

Error:
2019/10/08 16:52:49 [pool-313-thread-1] ERROR com.neotys.communication.endpoint.CallImpl - com.neotys.nl.agent.transport.AgentServiceLg.handleRequest(ecf37a72-bc97-44e5-afd8-a85fc5c14b7f) error while sending request
java.util.concurrent.ExecutionException: java.io.IOException: Transport has been disconnected

Note: I tried sending the WS request using "Simple Web Socket Client" from Chrome and it works from the agent machine and I can see the response


Is there a way to call a URL in JavaScript only once per load test?

$
0
0

Is there a way to call a URL in JavaScript only once per load test?

I would not want to call this on each iteration, but once at the beginning of the entire suite. The return values are feature flags that will drive parts of the script to simulate when the feature flags are active or not.

Not able to record Upload request in Neoload

$
0
0

We are working in scripting of a Mobile App using Neoload 7.0.2 and the Device (iPAD with iOS 12.4.1) is connected to same WiFI. We are using the Proxy mode with the Device configured to connect through HTTP Proxy > Manual > My system WiFI IP and Port 8090 as per Neoload guides. Issue is - during recording - the moment we are uploading files to the aws server upload requests are not recording in Neoload.

Same script we recorded in Fiddler upload requests are recorded. but in Neoload not able to record upload requests.

Neoload Cloud Platform for Africa Region

$
0
0

Does Neoload Cloud Console has Africa Zone - Cloud Load generators?

I could see America , Europe and Asia Pacific regions and could not see Africa region

Binary responses cannot be previewed in HTML rendering

$
0
0

While executing the script, getting 'Binary responses cannot be previewed' on HTML rendering, therefore we are not able to verify the screenshots.
Screenshots are displayed on recorded script.
Is there any way we can check the screenshot?

How to make the CI of Neoload with Teamcity more dynamic ?

$
0
0

I have 2 queries, listed below with regards to CI with TeamCity and Neoload -
a) how can I select multiple cloud load generators and modify their load factors during runtime
b) how can I change the scenario settings, for example - user count and load duration/iteration numbers

Not able to store transactions

$
0
0

When I have the recording bar I am not able to click on Next transaction, so I cannot save transactions and the recording is with empty actions at the end. Version 7.0.2
This happens with all browsers
So maybe I am doing something wrong

I have set proxy localhost:8090

I need to create a POST request and have to pass excel file in body?

$
0
0

I need to create a POST request and have to pass excel file in its body as a parameter, which needs to be changed with every iteration , please suggest?


How to connect my neoload client (GUI) to other controller?

$
0
0

How can I connect my Neoload client to other controller? Example I am using PC A, I am using the client here, but I want it to connect to Controller B from another machine.

WebResource file failed during load test

$
0
0

Hi Team

for my userpath it creates multiple webresource file . whenever i check that userpath with dynamic data resource file passed but when i do load test with same set of dynamic data it fails .. Any reason why it is and how to resolve it ?

i have api request that gets response from 3 servers how could i know that i am getting response from all servers

$
0
0

i have a api request the request will go and hit the 3 servers how could oi know that whether i am getting response from all the servers i may get from 2nd server response. It may not go to 3 rd server. i want to check that whether the response is coming from all the servers or not .i want to check that my request is going from 1st server to 2nd and 3rd server response is also vice versa

Upload multiple files in one transaction

$
0
0

I have to upload different files in one transaction. When I execute the script for like 50 users, different file will be uploaded on each iteration.

How to work with JSON objects within conditions

$
0
0

How would I use a JSON object within an if…then…else condition?

In my case I'm iterating across a JSON object, which has four object elements. The loop runs four times as expected. Within the loop I'm trying to evaluate whether or not the value of the key "isMine" is true or not. I tried this as follows:

Operand1: ${contracts_json}[${contractLoop_counter}].isMine
Condition: Equals
Operand2: true

Unfortunately Operand1 always contains the whole ${contracts_json} object and not just one of the four elements. Therefore the condition never evaluates to true. How should I evaluate a specific element? I also tried setting Condition1 to ${contracts_${contractLoop_counter}}.isMine, but this does not work either.

Any suggestions?

i have 100 users and i am passing 100 usernames and 100 passwords for login i want to know all users using all data

$
0
0

i am passing 100 usernames and 100 passwords for 100 users how to know that each user login with corresponding username and passwords how to know that after test execution 1st user login with 1st user credentials and 2nd user login with 2nd user login credentials 2 users can login with same username and password even though i run the execution with sequential each iteration after test execution i want to check that each user will take corresponding login credentials or not

I want 30000 transactions per minute for this how to design workload model how many vusers i need

$
0
0

In my load test i need to test the application behavior with 30000 transactions per minute for that how to design work load model and how many virtual users do i really need


what is meant by throughput in neoload .Is it gives how much data has been transferred for all requests

$
0
0

what is the difference between Average pages/s and Average requests/s .let us assume if i run the test with 500 users no errors if same test run with 1000 users i am getting errors how could i check what are the errors and how to resolve that errors its waste of resources and time to test again with 1000 users whether 2nd time also we get errors or not what is the best sol if more errors come

while i am running the test if suddenly any load generator will down what should i do

$
0
0

suppose i am running the tests with 5 load generators and give load 10000 users if suddenly any load generator will down what should i do .To run the test again waste of money what is the solution for this

In single machine with how many users we can run a test

$
0
0

suppose my machine configuration is 32gb ram 4 cores of cpu with how many virtual users can i do a load test how can we decide for this configuration we can run with these many users

Could anyone please help resolve the aura:clientOutOfSync error while testing Salesforce Lightening platform?

$
0
0

Finding aura:clientOutOfSync error while testing Salesforce Lightening platform. No solution found on online forums. Need support from Neoload to proceed.

Error message: /{"event":{"descriptor":"markup://aura:clientOutOfSync","eventDef":{"descriptor":"markup://aura:clientOutOfSync","t":"APPLICATION","xs":"I"}},"exceptionEvent":true}/*ERROR*/

Scenario: concurrent testing for Salesforce Lightning platform, facing the error while checking the userpath of a recorded login scenario. The error is reported for the aura component.
Also gets 'Handshake denied' error instead of ClientOutofSync

Error reading infrastruture .yaml file with Neoload 6.9

$
0
0

Hi, I am try to integrate Jenkins and Neoload 6.9. When I pass arguements for -loadGenerators=infra.yaml file, it shows an error when Job is run.

Loading Load Generators definition...
mapping values are not allowed here
in 'reader', line 3, column 10:
zones:

Earlier it was throwing error at "type" which I then removed.

type: ON_PREMISE_LOAD_GENERATOR

Viewing all 2283 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>