FIWARE / load-tests

:chart_with_upwards_trend: Load tests to run against installations of FIWARE Components - NGSI Context Brokers running on scalable test architecture scenarios and installed with and without additional FIWARE microservices.
MIT License
6 stars 2 forks source link

v2/ComplexQueryEntitiesByAttributeSimulation.scala has tests ld operater which is not avilable for v2. #83

Open MasazI opened 3 years ago

MasazI commented 3 years ago

ComplexQueryEntitiesByAttributeSimulation.scala has function like below. That includes "|" operator. As far as I tested, the operator is only available in Orion LD. Does anyone know a operator instead in v2?

 def queryComplexByAttributesAndType(attribute: String, attributeValue: String, relationship: String, relationshipValue: String, entityType: String): ActionBuilder = {
    val queryString = "/entities?type=" + entityType + "&q=" + attribute + "==" + attributeValue + "|" + relationship + "==" + "" + relationshipValue + "&options=keyValues"
    http(" Get entities")
      .get(queryString)
  }