recent posts recent posts - RSS

25 days ago
Topic:
How to have more descriptive Test name

George @StresStimulus
George @StresStimulus
Administrator
Posts: 472
The test run name has a max limit of 26 characters. The reason for the limit is that the name is used as part of the SQL CE database file name and that has limits. Typically, if you would like to add a meaningful description to the test run, you can use the Description textbox below that has a much higher character limit.
25 days ago
Topic:
How to have more descriptive Test name

Unregistered User
Unregistered User
Posts: 439
I like to use descriptive names for my load test scenarios to make it easier to read/find/sort/compare.
The StressStimulus user interface does not allow for that many characters in the naming of test runs so I have to resort to using camel text.






Would be nice if they allow more characters for naming or am I the only user needing more?
26 days ago
Topic:
Load testing database

George @StresStimulus
George @StresStimulus
Administrator
Posts: 472
George @StresStimulus
George @StresStimulus
Administrator
Posts: 472
Topic: Load testing database
To add Database performance monitors, first, add the Database machine to a performance graph as described here. If the machine is on a different network as your StresStimulus controller you need to install PerfMon Agent as described here. Finally, you can add any performance counters as described here.

- Cheers
26 days ago
Topic:
Load testing database

raph
raph
Posts: 1
raph
raph
Posts: 1
Topic: Load testing database
Hi, How do I get to the screen "Select Performance Counter"?
I would like to test Database performance with stresstimulus and wondering if its possible?

I don't have the same screen as your! This is what I have:
8/15/2022
Topic:
Missing Pages graph

George @StresStimulus
George @StresStimulus
Administrator
Posts: 472
George @StresStimulus
George @StresStimulus
Administrator
Posts: 472
Topic: Missing Pages graph
Pages are typically created during recording as described https://support.stresstimulus.com/display/doc56/Page+structure

You can create/edit pages in the current script as described https://support.stresstimulus.com/display/doc56/Managing+Page+Breakdown


- Cheers
8/15/2022
Topic:
Datasets editor - basic text editing issues

George @StresStimulus
George @StresStimulus
Administrator
Posts: 472
The issue was fixed in v5.6.8257. Thank you for reporting it.


- Cheers
8/12/2022
Topic:
Missing Pages graph

ihodgetts
ihodgetts
Posts: 5
I think I've found my own answer; selecting multiple requests in the test case right-clicking and choose "Create Page".

I'm guessing one approach to grouping would be to group every time you see that a screenshot was taken during the original recording.
8/12/2022
Topic:
Missing Pages graph

ihodgetts
ihodgetts
Posts: 5
Thanks for pointing that out (seems obvious now).


I'm actually working on a test case that someone else did the original recording. My own (exploratory) recordings DO include pages, but the main recording only has sessions. What governs how pages/sessions are used?

[EDIT]

Presumably it's the "Group requests into pages" checkbox when doing a recording.

Is there any way of retrospectively doing this grouping?
8/10/2022
Topic:
Debugging non UI test runs.

DSF
DSF
Posts: 22
Hi George,

I am running the non UI tests via PowerShell on Windows based vm's so when the command is executed and SS fails to run the console immediately close down and does not remain open with exit codes for me to catch. Will see what I can do but it is going take some fancy footwork to make it work if I even can.
8/10/2022
Topic:
Missing Pages graph

George @StresStimulus
George @StresStimulus
Administrator
Posts: 472
George @StresStimulus
George @StresStimulus
Administrator
Posts: 472
Topic: Missing Pages graph
The reason the Pages graphs is not displayed is that your test cases don’t have any Pages.


- Cheers
8/9/2022
Topic:
Debugging non UI test runs.

George @StresStimulus
George @StresStimulus
Administrator
Posts: 472
George @StresStimulus
George @StresStimulus
Administrator
Posts: 472
Topic: Debugging non UI test runs.
StresStimulus performs a series of checks before the non-UI mode test starts. If a check is failed, StresStimulus exists with exit code = 2 and writes an error message to the console as described https://support.stresstimulus.com/display/doc56/Command+line+interface+for+Standalone+version. Perhaps you can capture the exit code = 2 as a sign that the test didn’t start and handle it according to your requirements.


- Cheers
8/9/2022
Topic:
Test Profile Name - SQL injection

George @StresStimulus
George @StresStimulus
Administrator
Posts: 472
This issue was fixed in v5.6.8255. Thank you for reporting it.


- Cheers
8/9/2022
Topic:
Missing Pages graph

ihodgetts
ihodgetts
Posts: 5
I'm not sure how I've ended up here, but I'm no longer seeing the options of a graph showing "Pages" whenever I run a load test.
The only ones I see by default are:
KPI
Transactions
Test Cases
Load Agents
(plus any I've manually created)

Is there some way to restore the default graphs?
8/9/2022
Topic:
Common DataFiles, relative filepaths & load agents

George @StresStimulus
George @StresStimulus
Administrator
Posts: 472
During a distributed test, the test structure (described https://support.stresstimulus.com/display/doc56/Test+structure) that includes the configuration file and the project folder is synchronized with every load agent.

The files you are trying to synchronize are outside the project folder, they will not be synchronized.

Since you don’t want to use the DataFiles folder, one workaround would be to copy the data files to each load agent manually (keeping the same relative folder structure) before the test. The test structure is stored on the load agent in %MyDocuments%/Fiddler2/StresStimulus/AgentTemp folder


- Cheers
8/8/2022
Topic:
Debugging non UI test runs.

DSF
DSF
Posts: 22
I found the issue. I use dedicated test agents to generate load and the agent service does not always start sucessfully when reverting back to the base vm's. When running the tests in non UI mode and the test agents are not available SS does nothing while the Powershell script running the tests appear to pass. When I fired up SS in UI mode and tried to run a test case an exception was raised that no test agent service was available.
Same happened when the SS agent service was available but older than the controller service, no exception raised when running in non UI mode.
Would be nice if we can have the same exception handling when running SS in non UI mode. Meanwhile I have added steps in my pipeline to ensure the test agents services are up and running before I run test cases.
8/4/2022
Topic:
Common DataFiles, relative filepaths & load agents

Richard.
Richard.
Posts: 4
A simplified file structure of what's trying to be achieved:


A working folder is used by several individuals (managed using external source control as necessary) and it's path is specific to each individual.
The working folder contains multiple projects & each project has several tests.

There are some resources (e.g. files to be uploaded during tests) common to all tests & also some common only within specific projects.

In tests, some sessions have parameterised file uploads using datasets e.g.:



When verifying tests in the SS interface the relative path specified in the dataset works as required - i.e.:



Which addresses files relatively, going up 6 folder levels (to the 'common to all' location) then navigates to the common file to be used during the verification.


however when run using load agents this method does not appear to locate the resources used or make them available to the agents when they playback the tests.


We're trying to avoid the same common files (numerous & sometimes large) having to appear in every every test's own DataFiles folder - causing space, duplication, maintenance, versioning, updating & change headaches...


Could you provide a few pointers in relation to how this can be accomplished please.
8/4/2022
Topic:
Datasets editor - basic text editing issues

Richard.
Richard.
Posts: 4
Basic editing commands (like the delete key) don't work as expected when editing datasets.




E.G.
<delete> key doesn't work when editing a data entry

When you double click text to edit it <home>, <end> keys don't work

When text is selected <Ctrl>+<C> (copy), <Ctrl>+<V> doesn't work as expected
8/4/2022
Topic:
Debugging non UI test runs.

DSF
DSF
Posts: 22
Hi George,
I use an offsite dedicated SQL server. Testing connectivity to the db via the SS UI works fine.
Regards.
8/3/2022
Topic:
Debugging non UI test runs.

George @StresStimulus
George @StresStimulus
Administrator
Posts: 472
George @StresStimulus
George @StresStimulus
Administrator
Posts: 472
Topic: Debugging non UI test runs.
May I ask what data repository you use: local (SQL-CE or SQLLite) or centralized : (SQL server)?


StresStimulus has a trace log that you can enable, as described here. It will create a new log file for every test run.


- Cheers
8/3/2022
Topic:
Debugging non UI test runs.

DSF
DSF
Posts: 22
Hi,

I am running SS tests via non UI commandline executions using powershell in a pipeline. The scripts completed and there should be many test case results in the DB however only the first test case results was commited to the test repository.
I am trying to debug what happened to the other test case result data, are there any logs SS writes to if problems occur when running test cases in non UI mode?

Regards.
DSF.




Copyright © 2022 Stimulus Technology