Test duration : 8.638s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.084s |
2023-07-05 21:13:58 |
2023-07-05 21:13:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:13:58 | ------------------------------------ 2023-07-05 21:13:58 | [Mutex] waiting for: [configured:node:node-7584316b-e571-46c8-9fd4-1507d46cd2e7:node-ef932e44-0daf-4504-b523-bfdbf47d8068] 2023-07-05 21:13:58 | [Mutex] received everything. 2023-07-05 21:13:58 | [Mutex] isItemNotified: configured:node:node-7584316b-e571-46c8-9fd4-1507d46cd2e7:node-ef932e44-0daf-4504-b523-bfdbf47d8068 :: true 2023-07-05 21:13:59 | [Mutex] waiting for: [received:nodes:1ad503d7-6180-438f-9dd9-64e829f09a69:localhost] 2023-07-05 21:13:59 | [Mutex] received everything. 2023-07-05 21:13:59 | [Mutex] isItemNotified: received:node:1ad503d7-6180-438f-9dd9-64e829f09a69:localhost:node-7584316b-e571-46c8-9fd4-1507d46cd2e7:Node 7584316b-e571-46c8-9fd4-1507d46cd2e7 :: true 2023-07-05 21:13:59 | [Mutex] waiting for: [received:nodes:9f7623ff-b687-4011-a611-16b811b80e21:localhost] 2023-07-05 21:13:59 | [Mutex] waiting for: [received:nodes:9f7623ff-b687-4011-a611-16b811b80e21:localhost] 2023-07-05 21:13:59 | [Mutex] waiting for: [received:nodes:9f7623ff-b687-4011-a611-16b811b80e21:localhost] 2023-07-05 21:13:59 | [Mutex] received everything. 2023-07-05 21:13:59 | [Mutex] isItemNotified: received:node:9f7623ff-b687-4011-a611-16b811b80e21:localhost:node-7584316b-e571-46c8-9fd4-1507d46cd2e7:Node 7584316b-e571-46c8-9fd4-1507d46cd2e7 :: false |
createNodes | 1.651s |
2023-07-05 21:13:56 |
2023-07-05 21:13:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:13:56 | ------------------------------------ 2023-07-05 21:13:56 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-7584316b-e571-46c8-9fd4-1507d46cd2e7", "pubsub#title": "Node 7584316b-e571-46c8-9fd4-1507d46cd2e7" } 2023-07-05 21:13:56 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-05 21:13:57 | [Mutex] waiting for: [received:nodes:edf2e4ba-cab8-46c1-961f-dbb71523b109:localhost] 2023-07-05 21:13:57 | [Mutex] waiting for: [received:nodes:edf2e4ba-cab8-46c1-961f-dbb71523b109:localhost] 2023-07-05 21:13:57 | [Mutex] waiting for: [received:nodes:edf2e4ba-cab8-46c1-961f-dbb71523b109:localhost] 2023-07-05 21:13:57 | [Mutex] waiting for: [received:nodes:edf2e4ba-cab8-46c1-961f-dbb71523b109:localhost] 2023-07-05 21:13:57 | [Mutex] received everything. 2023-07-05 21:13:57 | [Mutex] isItemNotified: received:node:edf2e4ba-cab8-46c1-961f-dbb71523b109:localhost:node-7584316b-e571-46c8-9fd4-1507d46cd2e7:Node 7584316b-e571-46c8-9fd4-1507d46cd2e7 :: true |
createSubnodes | 1.020s |
2023-07-05 21:13:57 |
2023-07-05 21:13:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:13:57 | ------------------------------------ 2023-07-05 21:13:57 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-ef932e44-0daf-4504-b523-bfdbf47d8068", "pubsub#title": "Node ef932e44-0daf-4504-b523-bfdbf47d8068" } 2023-07-05 21:13:57 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-05 21:13:58 | [Mutex] waiting for: [received:nodes:941b92d3-f689-4390-92c3-9513156a3d5a:localhost] 2023-07-05 21:13:58 | [Mutex] waiting for: [received:nodes:941b92d3-f689-4390-92c3-9513156a3d5a:localhost] 2023-07-05 21:13:58 | [Mutex] waiting for: [received:nodes:941b92d3-f689-4390-92c3-9513156a3d5a:localhost] 2023-07-05 21:13:58 | [Mutex] waiting for: [received:nodes:941b92d3-f689-4390-92c3-9513156a3d5a:localhost] 2023-07-05 21:13:58 | [Mutex] received everything. 2023-07-05 21:13:58 | [Mutex] isItemNotified: received:node:941b92d3-f689-4390-92c3-9513156a3d5a:localhost:node-ef932e44-0daf-4504-b523-bfdbf47d8068:Node ef932e44-0daf-4504-b523-bfdbf47d8068 :: true |
deleteNodes | 1.021s |
2023-07-05 21:14:03 |
2023-07-05 21:14:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:14:03 | ------------------------------------ 2023-07-05 21:14:03 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-ef932e44-0daf-4504-b523-bfdbf47d8068" } 2023-07-05 21:14:03 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-05 21:14:04 | [Mutex] waiting for: [received:nodes:9bc9c2fa-003a-44a5-858a-1077db4fcc29:localhost] 2023-07-05 21:14:04 | [Mutex] waiting for: [received:nodes:9bc9c2fa-003a-44a5-858a-1077db4fcc29:localhost] 2023-07-05 21:14:04 | [Mutex] waiting for: [received:nodes:9bc9c2fa-003a-44a5-858a-1077db4fcc29:localhost] 2023-07-05 21:14:04 | [Mutex] received everything. 2023-07-05 21:14:04 | [Mutex] isItemNotified: received:node:9bc9c2fa-003a-44a5-858a-1077db4fcc29:localhost:node-ef932e44-0daf-4504-b523-bfdbf47d8068:Node ef932e44-0daf-4504-b523-bfdbf47d8068 :: false |
deleteSubnodes | 1.024s |
2023-07-05 21:14:02 |
2023-07-05 21:14:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:14:02 | ------------------------------------ 2023-07-05 21:14:02 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-7584316b-e571-46c8-9fd4-1507d46cd2e7" } 2023-07-05 21:14:02 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-05 21:14:03 | [Mutex] waiting for: [received:nodes:0bdbae5b-b77b-411a-bedc-a9e17a476612:localhost] 2023-07-05 21:14:03 | [Mutex] waiting for: [received:nodes:0bdbae5b-b77b-411a-bedc-a9e17a476612:localhost] 2023-07-05 21:14:03 | [Mutex] waiting for: [received:nodes:0bdbae5b-b77b-411a-bedc-a9e17a476612:localhost] 2023-07-05 21:14:03 | [Mutex] waiting for: [received:nodes:0bdbae5b-b77b-411a-bedc-a9e17a476612:localhost] 2023-07-05 21:14:03 | [Mutex] received everything. 2023-07-05 21:14:03 | [Mutex] isItemNotified: received:node:0bdbae5b-b77b-411a-bedc-a9e17a476612:localhost:node-7584316b-e571-46c8-9fd4-1507d46cd2e7:Node 7584316b-e571-46c8-9fd4-1507d46cd2e7 :: false 2023-07-05 21:14:03 | [Mutex] waiting for: [received:nodes:eba5fbbb-0403-4c02-ae39-80b24830f932:localhost] 2023-07-05 21:14:03 | [Mutex] received everything. 2023-07-05 21:14:03 | [Mutex] isItemNotified: received:node:eba5fbbb-0403-4c02-ae39-80b24830f932:localhost:node-7584316b-e571-46c8-9fd4-1507d46cd2e7:Node 7584316b-e571-46c8-9fd4-1507d46cd2e7 :: false |
publishItemsToNodes | 0.053s |
2023-07-05 21:14:00 |
2023-07-05 21:14:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:14:00 | ------------------------------------ 2023-07-05 21:14:00 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-7584316b-e571-46c8-9fd4-1507d46cd2e7", "entry": "<test>item-23de7911-1103-4f72-a246-e3066409739f</test>", "item-id": "item-23de7911-1103-4f72-a246-e3066409739f" } 2023-07-05 21:14:00 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-23de7911-1103-4f72-a246-e3066409739f" } 2023-07-05 21:14:00 | [Mutex] waiting for: [published:item:notifieditem-23de7911-1103-4f72-a246-e3066409739f:admin@test-domain.com] 2023-07-05 21:14:01 | [Mutex] received everything. 2023-07-05 21:14:01 | [Mutex] isItemNotified: published:item:notifieditem-23de7911-1103-4f72-a246-e3066409739f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.059s |
2023-07-05 21:14:01 |
2023-07-05 21:14:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:14:01 | ------------------------------------ 2023-07-05 21:14:01 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-7584316b-e571-46c8-9fd4-1507d46cd2e7", "item-id": "item-23de7911-1103-4f72-a246-e3066409739f" } 2023-07-05 21:14:01 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-23de7911-1103-4f72-a246-e3066409739f" } 2023-07-05 21:14:01 | [Mutex] received everything. 2023-07-05 21:14:01 | [Mutex] isItemNotified: retracted:item:notifieditem-23de7911-1103-4f72-a246-e3066409739f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.103s |
2023-07-05 21:14:01 |
2023-07-05 21:14:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:14:01 | ------------------------------------ 2023-07-05 21:14:01 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-7584316b-e571-46c8-9fd4-1507d46cd2e7", "item-id": "item-23de7911-1103-4f72-a246-e3066409739f" } 2023-07-05 21:14:01 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-7584316b-e571-46c8-9fd4-1507d46cd2e7", "item-id": "item-23de7911-1103-4f72-a246-e3066409739f", "item": [ "<item id=\"item-23de7911-1103-4f72-a246-e3066409739f\"><test>item-23de7911-1103-4f72-a246-e3066409739f</test></item>" ] } 2023-07-05 21:14:01 | [Mutex] notify: [retrieved:item:item-23de7911-1103-4f72-a246-e3066409739f:payload-matches:true:localhost] 2023-07-05 21:14:01 | [Mutex] received everything. 2023-07-05 21:14:01 | [Mutex] isItemNotified: retrieved:item:item-23de7911-1103-4f72-a246-e3066409739f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2023-07-05 21:14:01 |
2023-07-05 21:14:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:14:01 | ------------------------------------ 2023-07-05 21:14:01 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-07-05 21:14:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-7584316b-e571-46c8-9fd4-1507d46cd2e7", "node-ef932e44-0daf-4504-b523-bfdbf47d8068", "test" ] } |
retrieveUserSubscriptionsWithRegex | 0.052s |
2023-07-05 21:14:01 |
2023-07-05 21:14:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:14:01 | ------------------------------------ 2023-07-05 21:14:01 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-7584316b-e571-46c8-9fd4-1507d46cd2e7)" } 2023-07-05 21:14:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.009s |
2023-07-05 21:13:59 |
2023-07-05 21:13:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:13:59 | ------------------------------------ 2023-07-05 21:13:59 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-7584316b-e571-46c8-9fd4-1507d46cd2e7", "jids": [ "admin@test-domain.com" ] } 2023-07-05 21:13:59 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.071s |
2023-07-05 21:14:01 |
2023-07-05 21:14:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-05 21:14:01 | ------------------------------------ 2023-07-05 21:14:01 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-7584316b-e571-46c8-9fd4-1507d46cd2e7", "jids": [ "admin@test-domain.com" ] } 2023-07-05 21:14:01 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |