Git Product home page Git Product logo

Comments (12)

 avatar commented on June 10, 2024 1

Same issue here... but no idea how to fix. I think that the test did not even run

from jmeter-aci-terraform.

EdiFirst avatar EdiFirst commented on June 10, 2024

Hello, anyone can help ? Follow more information: Im receiving the follow error on the Collect JMeter Controller and Worker Logs:

image

from jmeter-aci-terraform.

EdiFirst avatar EdiFirst commented on June 10, 2024

Hey @allantargino please some ideia why this error ?

from jmeter-aci-terraform.

 avatar commented on June 10, 2024

@EdiFirst I pulled the newest version from the repository and then the issue was fixed. I think it had something to do with the az copy update.

from jmeter-aci-terraform.

EdiFirst avatar EdiFirst commented on June 10, 2024

@EdiFirst I pulled the newest version from the repository and then the issue was fixed. I think it had something to do with the az copy update.

Thank you @leonK-BO but there was a trouble with az copy too , but I already solve. What version did you got ? It's generated the jtl ?

from jmeter-aci-terraform.

 avatar commented on June 10, 2024

@EdiFirst that one: https://github.com/Azure-Samples/jmeter-aci-terraform/tree/cdabee3a400a73e84fab6b4e6fc9e44788b9ef9b

from jmeter-aci-terraform.

allantargino avatar allantargino commented on June 10, 2024

Hi @EdiFirst, sorry the delay. From the image, the JMX file seems to be not present on the storage mount. Have you tried the newest fix that @leonK-BO mentioned?
Try to see if the jmx is present on the storage file share directly on Azure (using the portal or the CLI)

from jmeter-aci-terraform.

EdiFirst avatar EdiFirst commented on June 10, 2024

Hi @EdiFirst, sorry the delay. From the image, the JMX file seems to be not present on the storage mount. Have you tried the newest fix that @leonK-BO mentioned?
Try to see if the jmx is present on the storage file share directly on Azure (using the portal or the CLI)

No problem, yes the are files on storage:
image
Yes I saw the approach from @leonK-BO, but those azcopy tasks I already solved ,( just changed the path to results files as recommended):

image

It's like the jtl are not being generated by test execution. I'm not sure why this error: Can't open sample.jmx at task: 'RESULTS: Collect JMeter Controller and Worker Logs' This task should not try open sample.jmx should It ?

from jmeter-aci-terraform.

EdiFirst avatar EdiFirst commented on June 10, 2024

So @allantargino @leonK-BO Please some idea? I added the same code from repo and I'm receiving the same error (about could not open sample.jmx) .

from jmeter-aci-terraform.

devlie avatar devlie commented on June 10, 2024

It's like the jtl are not being generated by test execution. I'm not sure why this error: Can't open sample.jmx at task: 'RESULTS: Collect JMeter Controller and Worker Logs' This task should not try open sample.jmx should It ?

That task simply prints the JMeter logs from controller and worker(s), so one of the nodes actually couldn't find sample.jmx. Since the file was in the share, the next thing to check is if the share was mounted properly on the node. Did you happen to change this part in main.tf?

    volume {
      name                 = "jmeter"
      mount_path           = "/jmeter"
      read_only            = true
      storage_account_name = azurerm_storage_account.jmeter_storage.name
      storage_account_key  = azurerm_storage_account.jmeter_storage.primary_access_key
      share_name           = azurerm_storage_share.jmeter_share.name
    }

from jmeter-aci-terraform.

EdiFirst avatar EdiFirst commented on June 10, 2024

Hey @devlie thank you by attention. Yes I change it from read_only to false. One detail that I realize running pwd inside de tf command was that the container is starting on the path: opt/apache-jmeter-5.1 (something like this), I believe because of that its not opening jmx file, because it doesn't exist on this path, the operation of copy are not working.

from jmeter-aci-terraform.

axlvlv avatar axlvlv commented on June 10, 2024

Does anyone know how to find the artifacts in azure portal? Like this?
image

from jmeter-aci-terraform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.