Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR org.apache.jmeter.util.JMeterUtils - Could not find resources for 'ru_RU' #19

Open
Lavshyak opened this issue Jun 12, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Lavshyak
Copy link

Windows 10 with Russian language, Rider with English language, Java 8 Update 411, Java SE Development Kit 8 Update 60 (64-bit), Java(TM) SE Development Kit 21 (64-bit), .NET SDK 8.

using NUnit.Framework;
using static Abstracta.JmeterDsl.JmeterDsl;

namespace StressTest;

public class SomeTest
{
    [Test]
    public void LoadTest()
    {
        var stats = TestPlan(
            ThreadGroup(1, 1,
                HttpSampler("https://google.com/")
                    .Method(HttpMethod.Post.Method)
            )
        ).Run();
        Assert.That(stats.Overall.SampleTimePercentile99, Is.LessThan(TimeSpan.FromSeconds(5)));
    }
}

When i run LoadTest:

01:22:47.277 [main] ERROR org.apache.jmeter.util.JMeterUtils - Could not find resources for 'ru_RU'
= 1 in 00:00:01 = 1,6/s Avg: 523 Min: 523 Max: 523 Err: 1 (100,00%)

Where i can specify 'en_EN'?

@rabelenda
Copy link
Contributor

Hello, thank you for bringing this.

We could try adding support for JMeter properties in .net DSL and try using language property set to en_US. We will consider this for a future release, since the need for system properties in .net has been identified in other reported issues.

Another posibility might be adding a rusian messages resources, but that would require more effort and I would need some contribution from someone in the community that speaks russian (I don't :)).

@rabelenda rabelenda added the enhancement New feature or request label Jun 14, 2024
@Lavshyak
Copy link
Author

Lavshyak commented Jun 14, 2024

Another posibility might be adding a rusian messages resources, but that would require more effort and I would need some contribution from someone in the community that speaks russian (I don't :)).

if you want to go this route, just put English in the Russian resource files)

If anything, it’s not urgent for me. I already use k6 and am writing my own analogue on .net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants