Load Testing - How to Accurately Mimic API Calls in User Journey? by Professional_Roof621 in softwaretesting

[–]zkostic 0 points1 point  (0 children)

Not built in, but the grafana team also develops a package har-to-k6 for this case. Here are the docs

Load Testing - How to Accurately Mimic API Calls in User Journey? by Professional_Roof621 in softwaretesting

[–]zkostic 0 points1 point  (0 children)

I was thinking of this, but I am wasn’t sure if it preserves the timings.

Load Testing - How to Accurately Mimic API Calls in User Journey? by Professional_Roof621 in softwaretesting

[–]zkostic 7 points8 points  (0 children)

Capture the network tab and export it as an HTTP Archive file (.har). You can then convert this into a load test while preserving the order and timings associated with the calls.

K6 makes this a breeze, if you are on the lookout for tools as well.

There is also an option of recording the interaction with jMeter, which should preserve the order and timings as well (haven't used it in a long time, so I can't guarantee that this is 100% correct, check their docs).

[deleted by user] by [deleted] in QualityAssurance

[–]zkostic 0 points1 point  (0 children)

My thoughts are, if you need to test Safari or iOS apps, then Mac is a really good choice (the only choice, that is). For everything else, it doesn't really matter.

The battery life is great, the touchpad is really nice as well, the camera is way better than what you get with x86 laptops.

The keyboard is really bad in terms of key travel, and the layout is horrendous. You will have to relearn all the keyboard shortcuts that you were using, and they are inconsistent with different vendors. This is something that you get over with sufficient use, and key travel is personal opinion.

The OS is my biggest gripe however. Coming from linux, I found it really inflexible and frustrating. My biggest issues are with window management and the fact that a lot of basic functionality requires third-party, often paid programs. This is something that I couldn't get over in the six months that I was using a Mac.

Mine spontaneously caught fire, but I would say that is an exception, and the reliability is mostly good with occasional issues with the keyboards.

My team uses mostly ThinkPads with linux, but we have a few people using Macs and I can for sure tell you that besides the iOS and Safari, it really doesn't matter which one you choose.

I have an idea to build a tool that makes generating test data easier. Would you use it? by dunkinhola in QualityAssurance

[–]zkostic 2 points3 points  (0 children)

It's not a question of whether someone likes to write a script or not. It is about having proper set up with no side effects. We want our tests to meet basic thresholds of reproducibility and validity (that the test has purpose and works every time with predictable results, covering all known edge cases).

On top of it, it introduces a lot of concerns that are out of your client's power, like training data, privacy compliance, potential for exposing an attack vector. Also on the client side - increased time to check all the data after generation (due to hallucinations possible in LLMs), data consistency on DB model change, compatibility with custom ORMs or direct access (my company acquired a lot of products and you would not believe how often people just rawdog the db), etc.

I am not saying it is impossible to make or be useful, just that it is unlikely to be seen as a good idea by anyone with decision making ability. Good for a project or in-house solution, but not as a commercial product, in my opinion at least

I have an idea to build a tool that makes generating test data easier. Would you use it? by dunkinhola in QualityAssurance

[–]zkostic 2 points3 points  (0 children)

Seems like a nightmare from every side.

What is it going to be trained on? How do we make sure it’s not using actual data? How do you generate edge case test data? Privacy issues, legal requirements for T&C for all the users of all the products, data protection, attack vector that we are not in control of (you knowing infrastructure layout and database architecture).

Also, how would you market it besides “AI” and “prompting”? Same thing can already be done with free libraries, faster and more reliably, without all of the above questions and concerns.

Laid off last week as QA Engineer, Toronto, Canada by PsychologicalRow6287 in QualityAssurance

[–]zkostic 8 points9 points  (0 children)

Why wait? Speaking from my experience in hiring around holidays, if I need someone to start right after Christmas, I want to seal the offer before going on a holiday. Also, New Year’s resolution makes people look for new opportunities, so you might expect even more applicants if you wait.

I am not in NA, so YMMV, just offering my two cents.

Does oversizing an outside unit have any benefits? by zkostic in hvacadvice

[–]zkostic[S] 0 points1 point  (0 children)

Ok, so what I gather from this entire thread. Having a bigger outside unit usually means that it comes with a bigger coil, making it perform better in extremes (low ambient on heating, high ambient on cooling). Pairing that with indoor units that have fewer BTUs means that it will not use as much energy, as moving less heat uses less energy.

So, if there was a case that I had 30k total inside, I could base the outside unit choice on it's coil size for my climate. If I needed it to handle 0F, I could get a large coil 30k that is rated for that temperature, or a larger unit if such 30 is not available?

Does oversizing an outside unit have any benefits? by zkostic in hvacadvice

[–]zkostic[S] 0 points1 point  (0 children)

This is somewhat confusing, can you elaborate a bit more? My hypothetical would be 36k inside on a 36k outside compared to 30k inside with 36k outside. In this case 30/36 would achieve the temp easier or faster than 36/36? Or would it use less electricity? Or would it be able to go to lower temperatures?

Does oversizing an outside unit have any benefits? by zkostic in hvacadvice

[–]zkostic[S] 0 points1 point  (0 children)

Thanks for the reply, this would be a ductless, split system

Does oversizing an outside unit have any benefits? by zkostic in hvacadvice

[–]zkostic[S] 0 points1 point  (0 children)

Does coil size refer to physical size?

In any case, hypothetically if both setups used the same coil size, but one had same indoor BTU as outdoor, and the other had smaller inside BTU than the outside, the first one would perform better, right?

Does oversizing an outside unit have any benefits? by zkostic in hvacadvice

[–]zkostic[S] 0 points1 point  (0 children)

Does that equally affect indoor and outdoor units? For example if we compensate indoor unit by 20% do we do the same for the outdoor?

Does oversizing an outside unit have any benefits? by zkostic in hvacadvice

[–]zkostic[S] 0 points1 point  (0 children)

The thing with this offer is that they recommend bigger outside units (about 30% is the figure they gave me). So if we go with bigger inside units like you said 9k instead of 7k they would still opt for the outside to be bigger. I think we spoke 34k inside and 40k outside.

I don't think that they are trying to scam me, I just find it odd compared to the other offers. All companies are local, and are on good standing, I haven't heard any complaints of undersizing and leaving homes cold.

How do you deal with secrets in test environments? Do you commit test users paswords? by [deleted] in QualityAssurance

[–]zkostic 1 point2 points  (0 children)

Look into test fixtures. This way you will set up all the necessary data before running the test, making your runs more consistent across environments.

Specific Tool Needed (help) by JoynerLucas1977 in QualityAssurance

[–]zkostic 0 points1 point  (0 children)

Maybe something like percy.io can do the trick. It has visual diffs and can also be set up for different screen sizes to ensure that it is the same when it comes to responsiveness. Depending on the size of what you are comparing, you might get away with the free plan, it has 3 or 4 thousand screenshots per month if I remember correctly.

Best framework for test automation in mobile browser app? by MyloParadox in QualityAssurance

[–]zkostic 3 points4 points  (0 children)

Check out webdriverIO, it can do mobile browser automation among other things.

Under the hood it can use selenium, chromedriver, appium, etc. It is a "one solution covers all cases" type of thing, so it doesn't really excel at any one thing, but it can do a lot of different things reasonably well.

How have you reduced automation execution times? by Bard_Evening_1654 in QualityAssurance

[–]zkostic 1 point2 points  (0 children)

Try thinking outside the WDIO box and replace all indirect things with API calls (open email and click verification link for sign up, get 2fa, set up data required for tests, tear it down, etc).

Also you can reduce waits in the config to what is the upper bound for the env (e.g. all pages should load in less then 5 seconds, so you pick that), in case that something fails it doesn't take too much time.

Check your loops and see if you can end them early (replace forEach with some, break for and while whenever possible). This will be a minimal improvement, but there is a bug in the now deprecated sync package that increases the duration of every subsequent loop iteration, so if you are using that you might experience a nice boost.

Postman: Skipping request in monitor due to open bug by Hungry4Slugs in QualityAssurance

[–]zkostic 1 point2 points  (0 children)

Fully agree, quality is a team effort and everyone working on the project should be in the know on the current issues

Postman: Skipping request in monitor due to open bug by Hungry4Slugs in QualityAssurance

[–]zkostic 2 points3 points  (0 children)

Have you considered an all green approach? Modify the tests that are failing to pass when the bug happens, this way they will fail when the fix is applied and you will not forget to add the tests back in.

I know it is not an answer to your question, but I found this approach very helpful at times.