Test duration : 8.646s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.151s |
2022-12-26 03:40:36 |
2022-12-26 03:40:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:40:36 | ------------------------------------ 2022-12-26 03:40:36 | [Mutex] waiting for: [configured:node:node-8d7fc851-8f37-4140-9044-537fbca7970d:node-e28fe14c-c2df-4059-a3ae-4f12a430cdbf] 2022-12-26 03:40:36 | [Mutex] received everything. 2022-12-26 03:40:36 | [Mutex] isItemNotified: configured:node:node-8d7fc851-8f37-4140-9044-537fbca7970d:node-e28fe14c-c2df-4059-a3ae-4f12a430cdbf :: true 2022-12-26 03:40:37 | [Mutex] waiting for: [received:nodes:b4a68a5a-ac3a-455f-a6ba-6c0285c5900d:localhost] 2022-12-26 03:40:37 | [Mutex] received everything. 2022-12-26 03:40:37 | [Mutex] isItemNotified: received:node:b4a68a5a-ac3a-455f-a6ba-6c0285c5900d:localhost:node-8d7fc851-8f37-4140-9044-537fbca7970d:Node 8d7fc851-8f37-4140-9044-537fbca7970d :: true 2022-12-26 03:40:37 | [Mutex] waiting for: [received:nodes:3b021861-2d44-46cc-9f9b-2c54a3957e85:localhost] 2022-12-26 03:40:37 | [Mutex] waiting for: [received:nodes:3b021861-2d44-46cc-9f9b-2c54a3957e85:localhost] 2022-12-26 03:40:37 | [Mutex] waiting for: [received:nodes:3b021861-2d44-46cc-9f9b-2c54a3957e85:localhost] 2022-12-26 03:40:37 | [Mutex] received everything. 2022-12-26 03:40:37 | [Mutex] isItemNotified: received:node:3b021861-2d44-46cc-9f9b-2c54a3957e85:localhost:node-8d7fc851-8f37-4140-9044-537fbca7970d:Node 8d7fc851-8f37-4140-9044-537fbca7970d :: false |
createNodes | 1.595s |
2022-12-26 03:40:33 |
2022-12-26 03:40:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:40:33 | ------------------------------------ 2022-12-26 03:40:34 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-8d7fc851-8f37-4140-9044-537fbca7970d", "pubsub#title": "Node 8d7fc851-8f37-4140-9044-537fbca7970d" } 2022-12-26 03:40:34 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-12-26 03:40:35 | [Mutex] waiting for: [received:nodes:dacf77b2-34d6-44e8-ade7-a877bcb606cd:localhost] 2022-12-26 03:40:35 | [Mutex] waiting for: [received:nodes:dacf77b2-34d6-44e8-ade7-a877bcb606cd:localhost] 2022-12-26 03:40:35 | [Mutex] waiting for: [received:nodes:dacf77b2-34d6-44e8-ade7-a877bcb606cd:localhost] 2022-12-26 03:40:35 | [Mutex] waiting for: [received:nodes:dacf77b2-34d6-44e8-ade7-a877bcb606cd:localhost] 2022-12-26 03:40:35 | [Mutex] received everything. 2022-12-26 03:40:35 | [Mutex] isItemNotified: received:node:dacf77b2-34d6-44e8-ade7-a877bcb606cd:localhost:node-8d7fc851-8f37-4140-9044-537fbca7970d:Node 8d7fc851-8f37-4140-9044-537fbca7970d :: true |
createSubnodes | 1.024s |
2022-12-26 03:40:35 |
2022-12-26 03:40:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:40:35 | ------------------------------------ 2022-12-26 03:40:35 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-e28fe14c-c2df-4059-a3ae-4f12a430cdbf", "pubsub#title": "Node e28fe14c-c2df-4059-a3ae-4f12a430cdbf" } 2022-12-26 03:40:35 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-12-26 03:40:36 | [Mutex] waiting for: [received:nodes:694f8625-0ff8-4ec5-aaff-6277b34ef3d4:localhost] 2022-12-26 03:40:36 | [Mutex] waiting for: [received:nodes:694f8625-0ff8-4ec5-aaff-6277b34ef3d4:localhost] 2022-12-26 03:40:36 | [Mutex] waiting for: [received:nodes:694f8625-0ff8-4ec5-aaff-6277b34ef3d4:localhost] 2022-12-26 03:40:36 | [Mutex] received everything. 2022-12-26 03:40:36 | [Mutex] isItemNotified: received:node:694f8625-0ff8-4ec5-aaff-6277b34ef3d4:localhost:node-e28fe14c-c2df-4059-a3ae-4f12a430cdbf:Node e28fe14c-c2df-4059-a3ae-4f12a430cdbf :: true |
deleteNodes | 1.018s |
2022-12-26 03:40:40 |
2022-12-26 03:40:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:40:40 | ------------------------------------ 2022-12-26 03:40:40 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-e28fe14c-c2df-4059-a3ae-4f12a430cdbf" } 2022-12-26 03:40:40 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-12-26 03:40:41 | [Mutex] waiting for: [received:nodes:453714ba-dc6e-4c03-a1ec-364cf2e1dd6b:localhost] 2022-12-26 03:40:41 | [Mutex] waiting for: [received:nodes:453714ba-dc6e-4c03-a1ec-364cf2e1dd6b:localhost] 2022-12-26 03:40:41 | [Mutex] waiting for: [received:nodes:453714ba-dc6e-4c03-a1ec-364cf2e1dd6b:localhost] 2022-12-26 03:40:41 | [Mutex] received everything. 2022-12-26 03:40:41 | [Mutex] isItemNotified: received:node:453714ba-dc6e-4c03-a1ec-364cf2e1dd6b:localhost:node-e28fe14c-c2df-4059-a3ae-4f12a430cdbf:Node e28fe14c-c2df-4059-a3ae-4f12a430cdbf :: false |
deleteSubnodes | 1.035s |
2022-12-26 03:40:39 |
2022-12-26 03:40:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:40:39 | ------------------------------------ 2022-12-26 03:40:39 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-8d7fc851-8f37-4140-9044-537fbca7970d" } 2022-12-26 03:40:39 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-12-26 03:40:40 | [Mutex] waiting for: [received:nodes:638f931c-a57e-4342-b397-54a54c9ac0ad:localhost] 2022-12-26 03:40:40 | [Mutex] waiting for: [received:nodes:638f931c-a57e-4342-b397-54a54c9ac0ad:localhost] 2022-12-26 03:40:40 | [Mutex] waiting for: [received:nodes:638f931c-a57e-4342-b397-54a54c9ac0ad:localhost] 2022-12-26 03:40:40 | [Mutex] waiting for: [received:nodes:638f931c-a57e-4342-b397-54a54c9ac0ad:localhost] 2022-12-26 03:40:40 | [Mutex] received everything. 2022-12-26 03:40:40 | [Mutex] isItemNotified: received:node:638f931c-a57e-4342-b397-54a54c9ac0ad:localhost:node-8d7fc851-8f37-4140-9044-537fbca7970d:Node 8d7fc851-8f37-4140-9044-537fbca7970d :: false 2022-12-26 03:40:40 | [Mutex] waiting for: [received:nodes:71d032ad-6760-4108-9310-4c5f9fadb6a3:localhost] 2022-12-26 03:40:40 | [Mutex] received everything. 2022-12-26 03:40:40 | [Mutex] isItemNotified: received:node:71d032ad-6760-4108-9310-4c5f9fadb6a3:localhost:node-8d7fc851-8f37-4140-9044-537fbca7970d:Node 8d7fc851-8f37-4140-9044-537fbca7970d :: false |
publishItemsToNodes | 0.029s |
2022-12-26 03:40:38 |
2022-12-26 03:40:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:40:38 | ------------------------------------ 2022-12-26 03:40:38 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-8d7fc851-8f37-4140-9044-537fbca7970d", "entry": "<test>item-3531a5ce-95b4-4e91-9746-11f658ab6c3d</test>", "item-id": "item-3531a5ce-95b4-4e91-9746-11f658ab6c3d" } 2022-12-26 03:40:38 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-3531a5ce-95b4-4e91-9746-11f658ab6c3d" } 2022-12-26 03:40:38 | [Mutex] waiting for: [published:item:notifieditem-3531a5ce-95b4-4e91-9746-11f658ab6c3d:admin@test-domain.com] 2022-12-26 03:40:38 | [Mutex] received everything. 2022-12-26 03:40:38 | [Mutex] isItemNotified: published:item:notifieditem-3531a5ce-95b4-4e91-9746-11f658ab6c3d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.052s |
2022-12-26 03:40:38 |
2022-12-26 03:40:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:40:38 | ------------------------------------ 2022-12-26 03:40:38 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-8d7fc851-8f37-4140-9044-537fbca7970d", "item-id": "item-3531a5ce-95b4-4e91-9746-11f658ab6c3d" } 2022-12-26 03:40:38 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-3531a5ce-95b4-4e91-9746-11f658ab6c3d" } 2022-12-26 03:40:38 | [Mutex] received everything. 2022-12-26 03:40:38 | [Mutex] isItemNotified: retracted:item:notifieditem-3531a5ce-95b4-4e91-9746-11f658ab6c3d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.065s |
2022-12-26 03:40:38 |
2022-12-26 03:40:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:40:38 | ------------------------------------ 2022-12-26 03:40:38 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-8d7fc851-8f37-4140-9044-537fbca7970d", "item-id": "item-3531a5ce-95b4-4e91-9746-11f658ab6c3d" } 2022-12-26 03:40:38 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-8d7fc851-8f37-4140-9044-537fbca7970d", "item-id": "item-3531a5ce-95b4-4e91-9746-11f658ab6c3d", "item": [ "<item id=\"item-3531a5ce-95b4-4e91-9746-11f658ab6c3d\"><test>item-3531a5ce-95b4-4e91-9746-11f658ab6c3d</test></item>" ] } 2022-12-26 03:40:38 | [Mutex] notify: [retrieved:item:item-3531a5ce-95b4-4e91-9746-11f658ab6c3d:payload-matches:true:localhost] 2022-12-26 03:40:38 | [Mutex] received everything. 2022-12-26 03:40:38 | [Mutex] isItemNotified: retrieved:item:item-3531a5ce-95b4-4e91-9746-11f658ab6c3d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.054s |
2022-12-26 03:40:38 |
2022-12-26 03:40:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:40:38 | ------------------------------------ 2022-12-26 03:40:38 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-12-26 03:40:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-8d7fc851-8f37-4140-9044-537fbca7970d", "node-e28fe14c-c2df-4059-a3ae-4f12a430cdbf" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2022-12-26 03:40:38 |
2022-12-26 03:40:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:40:38 | ------------------------------------ 2022-12-26 03:40:38 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-8d7fc851-8f37-4140-9044-537fbca7970d)" } 2022-12-26 03:40:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2022-12-26 03:40:37 |
2022-12-26 03:40:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:40:37 | ------------------------------------ 2022-12-26 03:40:37 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-8d7fc851-8f37-4140-9044-537fbca7970d", "jids": [ "admin@test-domain.com" ] } 2022-12-26 03:40:37 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.062s |
2022-12-26 03:40:38 |
2022-12-26 03:40:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-26 03:40:38 | ------------------------------------ 2022-12-26 03:40:38 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-8d7fc851-8f37-4140-9044-537fbca7970d", "jids": [ "admin@test-domain.com" ] } 2022-12-26 03:40:38 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |