Test duration : 8.533s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.107s |
2023-08-27 22:31:59 |
2023-08-27 22:31:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:31:59 | ------------------------------------ 2023-08-27 22:31:59 | [Mutex] waiting for: [configured:node:node-ee77a104-42df-4394-ac66-fe3198c23190:node-cfdca672-27a2-4514-b4d6-6e6f41cba115] 2023-08-27 22:31:59 | [Mutex] received everything. 2023-08-27 22:31:59 | [Mutex] isItemNotified: configured:node:node-ee77a104-42df-4394-ac66-fe3198c23190:node-cfdca672-27a2-4514-b4d6-6e6f41cba115 :: true 2023-08-27 22:32:00 | [Mutex] waiting for: [received:nodes:af2fca59-e836-4015-9898-f72a29f3ff05:localhost] 2023-08-27 22:32:00 | [Mutex] received everything. 2023-08-27 22:32:00 | [Mutex] isItemNotified: received:node:af2fca59-e836-4015-9898-f72a29f3ff05:localhost:node-ee77a104-42df-4394-ac66-fe3198c23190:Node ee77a104-42df-4394-ac66-fe3198c23190 :: true 2023-08-27 22:32:00 | [Mutex] waiting for: [received:nodes:129fb3cd-9f4d-4f90-8f32-4752f0a36532:localhost] 2023-08-27 22:32:00 | [Mutex] received everything. 2023-08-27 22:32:00 | [Mutex] isItemNotified: received:node:129fb3cd-9f4d-4f90-8f32-4752f0a36532:localhost:node-ee77a104-42df-4394-ac66-fe3198c23190:Node ee77a104-42df-4394-ac66-fe3198c23190 :: false |
createNodes | 1.521s |
2023-08-27 22:31:56 |
2023-08-27 22:31:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:31:56 | ------------------------------------ 2023-08-27 22:31:57 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-ee77a104-42df-4394-ac66-fe3198c23190", "pubsub#title": "Node ee77a104-42df-4394-ac66-fe3198c23190" } 2023-08-27 22:31:57 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-27 22:31:58 | [Mutex] waiting for: [received:nodes:390cdb23-83ec-4dd6-913c-c1859b0d3137:localhost] 2023-08-27 22:31:58 | [Mutex] received everything. 2023-08-27 22:31:58 | [Mutex] isItemNotified: received:node:390cdb23-83ec-4dd6-913c-c1859b0d3137:localhost:node-ee77a104-42df-4394-ac66-fe3198c23190:Node ee77a104-42df-4394-ac66-fe3198c23190 :: true |
createSubnodes | 1.024s |
2023-08-27 22:31:58 |
2023-08-27 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:31:58 | ------------------------------------ 2023-08-27 22:31:58 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-cfdca672-27a2-4514-b4d6-6e6f41cba115", "pubsub#title": "Node cfdca672-27a2-4514-b4d6-6e6f41cba115" } 2023-08-27 22:31:58 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-27 22:31:59 | [Mutex] waiting for: [received:nodes:799ae3ff-629a-4a97-a94a-4d6ad354c80d:localhost] 2023-08-27 22:31:59 | [Mutex] waiting for: [received:nodes:799ae3ff-629a-4a97-a94a-4d6ad354c80d:localhost] 2023-08-27 22:31:59 | [Mutex] waiting for: [received:nodes:799ae3ff-629a-4a97-a94a-4d6ad354c80d:localhost] 2023-08-27 22:31:59 | [Mutex] waiting for: [received:nodes:799ae3ff-629a-4a97-a94a-4d6ad354c80d:localhost] 2023-08-27 22:31:59 | [Mutex] received everything. 2023-08-27 22:31:59 | [Mutex] isItemNotified: received:node:799ae3ff-629a-4a97-a94a-4d6ad354c80d:localhost:node-cfdca672-27a2-4514-b4d6-6e6f41cba115:Node cfdca672-27a2-4514-b4d6-6e6f41cba115 :: true |
deleteNodes | 1.017s |
2023-08-27 22:32:03 |
2023-08-27 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:32:03 | ------------------------------------ 2023-08-27 22:32:03 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-cfdca672-27a2-4514-b4d6-6e6f41cba115" } 2023-08-27 22:32:03 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-27 22:32:04 | [Mutex] waiting for: [received:nodes:418f292d-5dae-4f79-b45b-35ebc5845f17:localhost] 2023-08-27 22:32:04 | [Mutex] waiting for: [received:nodes:418f292d-5dae-4f79-b45b-35ebc5845f17:localhost] 2023-08-27 22:32:04 | [Mutex] waiting for: [received:nodes:418f292d-5dae-4f79-b45b-35ebc5845f17:localhost] 2023-08-27 22:32:04 | [Mutex] received everything. 2023-08-27 22:32:04 | [Mutex] isItemNotified: received:node:418f292d-5dae-4f79-b45b-35ebc5845f17:localhost:node-cfdca672-27a2-4514-b4d6-6e6f41cba115:Node cfdca672-27a2-4514-b4d6-6e6f41cba115 :: false |
deleteSubnodes | 1.023s |
2023-08-27 22:32:02 |
2023-08-27 22:32:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:32:02 | ------------------------------------ 2023-08-27 22:32:02 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-ee77a104-42df-4394-ac66-fe3198c23190" } 2023-08-27 22:32:02 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-27 22:32:03 | [Mutex] waiting for: [received:nodes:d4c54b1c-315a-492d-b8cb-564b721bfcd4:localhost] 2023-08-27 22:32:03 | [Mutex] waiting for: [received:nodes:d4c54b1c-315a-492d-b8cb-564b721bfcd4:localhost] 2023-08-27 22:32:03 | [Mutex] waiting for: [received:nodes:d4c54b1c-315a-492d-b8cb-564b721bfcd4:localhost] 2023-08-27 22:32:03 | [Mutex] waiting for: [received:nodes:d4c54b1c-315a-492d-b8cb-564b721bfcd4:localhost] 2023-08-27 22:32:03 | [Mutex] received everything. 2023-08-27 22:32:03 | [Mutex] isItemNotified: received:node:d4c54b1c-315a-492d-b8cb-564b721bfcd4:localhost:node-ee77a104-42df-4394-ac66-fe3198c23190:Node ee77a104-42df-4394-ac66-fe3198c23190 :: false 2023-08-27 22:32:03 | [Mutex] waiting for: [received:nodes:b5e126b5-f4e8-4a9a-9dec-c529afae7a2c:localhost] 2023-08-27 22:32:03 | [Mutex] received everything. 2023-08-27 22:32:03 | [Mutex] isItemNotified: received:node:b5e126b5-f4e8-4a9a-9dec-c529afae7a2c:localhost:node-ee77a104-42df-4394-ac66-fe3198c23190:Node ee77a104-42df-4394-ac66-fe3198c23190 :: false |
publishItemsToNodes | 0.041s |
2023-08-27 22:32:01 |
2023-08-27 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:32:01 | ------------------------------------ 2023-08-27 22:32:01 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-ee77a104-42df-4394-ac66-fe3198c23190", "entry": "<test>item-52e393af-b8d3-4345-95f3-f9c62f49d2e5</test>", "item-id": "item-52e393af-b8d3-4345-95f3-f9c62f49d2e5" } 2023-08-27 22:32:01 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-52e393af-b8d3-4345-95f3-f9c62f49d2e5" } 2023-08-27 22:32:01 | [Mutex] waiting for: [published:item:notifieditem-52e393af-b8d3-4345-95f3-f9c62f49d2e5:admin@test-domain.com] 2023-08-27 22:32:01 | [Mutex] received everything. 2023-08-27 22:32:01 | [Mutex] isItemNotified: published:item:notifieditem-52e393af-b8d3-4345-95f3-f9c62f49d2e5:admin@test-domain.com :: true |
retractItemsFromNodes | 0.070s |
2023-08-27 22:32:01 |
2023-08-27 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:32:01 | ------------------------------------ 2023-08-27 22:32:01 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-ee77a104-42df-4394-ac66-fe3198c23190", "item-id": "item-52e393af-b8d3-4345-95f3-f9c62f49d2e5" } 2023-08-27 22:32:01 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-52e393af-b8d3-4345-95f3-f9c62f49d2e5" } 2023-08-27 22:32:01 | [Mutex] received everything. 2023-08-27 22:32:01 | [Mutex] isItemNotified: retracted:item:notifieditem-52e393af-b8d3-4345-95f3-f9c62f49d2e5:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.059s |
2023-08-27 22:32:01 |
2023-08-27 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:32:01 | ------------------------------------ 2023-08-27 22:32:01 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-ee77a104-42df-4394-ac66-fe3198c23190", "item-id": "item-52e393af-b8d3-4345-95f3-f9c62f49d2e5" } 2023-08-27 22:32:01 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-ee77a104-42df-4394-ac66-fe3198c23190", "item-id": "item-52e393af-b8d3-4345-95f3-f9c62f49d2e5", "item": [ "<item id=\"item-52e393af-b8d3-4345-95f3-f9c62f49d2e5\"><test>item-52e393af-b8d3-4345-95f3-f9c62f49d2e5</test></item>" ] } 2023-08-27 22:32:01 | [Mutex] notify: [retrieved:item:item-52e393af-b8d3-4345-95f3-f9c62f49d2e5:payload-matches:true:localhost] 2023-08-27 22:32:01 | [Mutex] received everything. 2023-08-27 22:32:01 | [Mutex] isItemNotified: retrieved:item:item-52e393af-b8d3-4345-95f3-f9c62f49d2e5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2023-08-27 22:32:01 |
2023-08-27 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:32:01 | ------------------------------------ 2023-08-27 22:32:01 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-08-27 22:32:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-ee77a104-42df-4394-ac66-fe3198c23190", "test", "node-cfdca672-27a2-4514-b4d6-6e6f41cba115" ] } |
retrieveUserSubscriptionsWithRegex | 0.052s |
2023-08-27 22:32:01 |
2023-08-27 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:32:01 | ------------------------------------ 2023-08-27 22:32:01 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-ee77a104-42df-4394-ac66-fe3198c23190)" } 2023-08-27 22:32:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.014s |
2023-08-27 22:32:00 |
2023-08-27 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:32:00 | ------------------------------------ 2023-08-27 22:32:00 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-ee77a104-42df-4394-ac66-fe3198c23190", "jids": [ "admin@test-domain.com" ] } 2023-08-27 22:32:00 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.076s |
2023-08-27 22:32:01 |
2023-08-27 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:32:01 | ------------------------------------ 2023-08-27 22:32:01 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-ee77a104-42df-4394-ac66-fe3198c23190", "jids": [ "admin@test-domain.com" ] } 2023-08-27 22:32:01 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |