Test duration : 8.803s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.105s |
2023-02-01 22:01:57 |
2023-02-01 22:01:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:01:57 | ------------------------------------ 2023-02-01 22:01:57 | [Mutex] waiting for: [configured:node:node-b77a1202-a9e0-4683-99aa-82ea1611dd19:node-15187d21-f5d4-4d40-b3e8-a69c33ce4059] 2023-02-01 22:01:57 | [Mutex] received everything. 2023-02-01 22:01:57 | [Mutex] isItemNotified: configured:node:node-b77a1202-a9e0-4683-99aa-82ea1611dd19:node-15187d21-f5d4-4d40-b3e8-a69c33ce4059 :: true 2023-02-01 22:01:58 | [Mutex] waiting for: [received:nodes:6007073b-5945-4b9e-b7f9-9d40e43c214b:localhost] 2023-02-01 22:01:58 | [Mutex] received everything. 2023-02-01 22:01:58 | [Mutex] isItemNotified: received:node:6007073b-5945-4b9e-b7f9-9d40e43c214b:localhost:node-b77a1202-a9e0-4683-99aa-82ea1611dd19:Node b77a1202-a9e0-4683-99aa-82ea1611dd19 :: true 2023-02-01 22:01:58 | [Mutex] waiting for: [received:nodes:76a93068-3624-4277-b33b-30609d498dab:localhost] 2023-02-01 22:01:58 | [Mutex] waiting for: [received:nodes:76a93068-3624-4277-b33b-30609d498dab:localhost] 2023-02-01 22:01:58 | [Mutex] waiting for: [received:nodes:76a93068-3624-4277-b33b-30609d498dab:localhost] 2023-02-01 22:01:58 | [Mutex] waiting for: [received:nodes:76a93068-3624-4277-b33b-30609d498dab:localhost] 2023-02-01 22:01:58 | [Mutex] received everything. 2023-02-01 22:01:58 | [Mutex] isItemNotified: received:node:76a93068-3624-4277-b33b-30609d498dab:localhost:node-b77a1202-a9e0-4683-99aa-82ea1611dd19:Node b77a1202-a9e0-4683-99aa-82ea1611dd19 :: false |
createNodes | 1.733s |
2023-02-01 22:01:54 |
2023-02-01 22:01:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:01:54 | ------------------------------------ 2023-02-01 22:01:55 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-b77a1202-a9e0-4683-99aa-82ea1611dd19", "pubsub#title": "Node b77a1202-a9e0-4683-99aa-82ea1611dd19" } 2023-02-01 22:01:55 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-02-01 22:01:56 | [Mutex] waiting for: [received:nodes:2e539c3e-00e9-4ed6-9d5f-6b6fadb2f8c8:localhost] 2023-02-01 22:01:56 | [Mutex] waiting for: [received:nodes:2e539c3e-00e9-4ed6-9d5f-6b6fadb2f8c8:localhost] 2023-02-01 22:01:56 | [Mutex] waiting for: [received:nodes:2e539c3e-00e9-4ed6-9d5f-6b6fadb2f8c8:localhost] 2023-02-01 22:01:56 | [Mutex] waiting for: [received:nodes:2e539c3e-00e9-4ed6-9d5f-6b6fadb2f8c8:localhost] 2023-02-01 22:01:56 | [Mutex] received everything. 2023-02-01 22:01:56 | [Mutex] isItemNotified: received:node:2e539c3e-00e9-4ed6-9d5f-6b6fadb2f8c8:localhost:node-b77a1202-a9e0-4683-99aa-82ea1611dd19:Node b77a1202-a9e0-4683-99aa-82ea1611dd19 :: true |
createSubnodes | 1.027s |
2023-02-01 22:01:56 |
2023-02-01 22:01:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:01:56 | ------------------------------------ 2023-02-01 22:01:56 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-15187d21-f5d4-4d40-b3e8-a69c33ce4059", "pubsub#title": "Node 15187d21-f5d4-4d40-b3e8-a69c33ce4059" } 2023-02-01 22:01:56 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-02-01 22:01:57 | [Mutex] waiting for: [received:nodes:cc0662fc-ab88-4dc8-8236-58040cf0cc74:localhost] 2023-02-01 22:01:57 | [Mutex] waiting for: [received:nodes:cc0662fc-ab88-4dc8-8236-58040cf0cc74:localhost] 2023-02-01 22:01:57 | [Mutex] waiting for: [received:nodes:cc0662fc-ab88-4dc8-8236-58040cf0cc74:localhost] 2023-02-01 22:01:57 | [Mutex] waiting for: [received:nodes:cc0662fc-ab88-4dc8-8236-58040cf0cc74:localhost] 2023-02-01 22:01:57 | [Mutex] waiting for: [received:nodes:cc0662fc-ab88-4dc8-8236-58040cf0cc74:localhost] 2023-02-01 22:01:57 | [Mutex] received everything. 2023-02-01 22:01:57 | [Mutex] isItemNotified: received:node:cc0662fc-ab88-4dc8-8236-58040cf0cc74:localhost:node-15187d21-f5d4-4d40-b3e8-a69c33ce4059:Node 15187d21-f5d4-4d40-b3e8-a69c33ce4059 :: true |
deleteNodes | 1.022s |
2023-02-01 22:02:01 |
2023-02-01 22:02:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:02:01 | ------------------------------------ 2023-02-01 22:02:01 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-15187d21-f5d4-4d40-b3e8-a69c33ce4059" } 2023-02-01 22:02:01 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-02-01 22:02:02 | [Mutex] waiting for: [received:nodes:59f97d51-c869-48ff-91c5-99f5943d7d66:localhost] 2023-02-01 22:02:02 | [Mutex] waiting for: [received:nodes:59f97d51-c869-48ff-91c5-99f5943d7d66:localhost] 2023-02-01 22:02:02 | [Mutex] waiting for: [received:nodes:59f97d51-c869-48ff-91c5-99f5943d7d66:localhost] 2023-02-01 22:02:02 | [Mutex] received everything. 2023-02-01 22:02:02 | [Mutex] isItemNotified: received:node:59f97d51-c869-48ff-91c5-99f5943d7d66:localhost:node-15187d21-f5d4-4d40-b3e8-a69c33ce4059:Node 15187d21-f5d4-4d40-b3e8-a69c33ce4059 :: false |
deleteSubnodes | 1.029s |
2023-02-01 22:02:00 |
2023-02-01 22:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:02:00 | ------------------------------------ 2023-02-01 22:02:00 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-b77a1202-a9e0-4683-99aa-82ea1611dd19" } 2023-02-01 22:02:00 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-02-01 22:02:01 | [Mutex] waiting for: [received:nodes:abdd0d4a-3539-49dc-a3b8-f5ee6e06907c:localhost] 2023-02-01 22:02:01 | [Mutex] waiting for: [received:nodes:abdd0d4a-3539-49dc-a3b8-f5ee6e06907c:localhost] 2023-02-01 22:02:01 | [Mutex] waiting for: [received:nodes:abdd0d4a-3539-49dc-a3b8-f5ee6e06907c:localhost] 2023-02-01 22:02:01 | [Mutex] waiting for: [received:nodes:abdd0d4a-3539-49dc-a3b8-f5ee6e06907c:localhost] 2023-02-01 22:02:01 | [Mutex] received everything. 2023-02-01 22:02:01 | [Mutex] isItemNotified: received:node:abdd0d4a-3539-49dc-a3b8-f5ee6e06907c:localhost:node-b77a1202-a9e0-4683-99aa-82ea1611dd19:Node b77a1202-a9e0-4683-99aa-82ea1611dd19 :: false 2023-02-01 22:02:01 | [Mutex] waiting for: [received:nodes:0a156f3d-7ca0-4dec-b63b-225a845590df:localhost] 2023-02-01 22:02:01 | [Mutex] received everything. 2023-02-01 22:02:01 | [Mutex] isItemNotified: received:node:0a156f3d-7ca0-4dec-b63b-225a845590df:localhost:node-b77a1202-a9e0-4683-99aa-82ea1611dd19:Node b77a1202-a9e0-4683-99aa-82ea1611dd19 :: false |
publishItemsToNodes | 0.037s |
2023-02-01 22:01:59 |
2023-02-01 22:01:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:01:59 | ------------------------------------ 2023-02-01 22:01:59 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-b77a1202-a9e0-4683-99aa-82ea1611dd19", "entry": "<test>item-8fbee4e2-5b4c-434f-894e-d50c0d5f4140</test>", "item-id": "item-8fbee4e2-5b4c-434f-894e-d50c0d5f4140" } 2023-02-01 22:01:59 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-8fbee4e2-5b4c-434f-894e-d50c0d5f4140" } 2023-02-01 22:01:59 | [Mutex] waiting for: [published:item:notifieditem-8fbee4e2-5b4c-434f-894e-d50c0d5f4140:admin@test-domain.com] 2023-02-01 22:01:59 | [Mutex] received everything. 2023-02-01 22:01:59 | [Mutex] isItemNotified: published:item:notifieditem-8fbee4e2-5b4c-434f-894e-d50c0d5f4140:admin@test-domain.com :: true |
retractItemsFromNodes | 0.068s |
2023-02-01 22:01:59 |
2023-02-01 22:01:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:01:59 | ------------------------------------ 2023-02-01 22:01:59 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-b77a1202-a9e0-4683-99aa-82ea1611dd19", "item-id": "item-8fbee4e2-5b4c-434f-894e-d50c0d5f4140" } 2023-02-01 22:01:59 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-8fbee4e2-5b4c-434f-894e-d50c0d5f4140" } 2023-02-01 22:01:59 | [Mutex] received everything. 2023-02-01 22:01:59 | [Mutex] isItemNotified: retracted:item:notifieditem-8fbee4e2-5b4c-434f-894e-d50c0d5f4140:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.060s |
2023-02-01 22:01:59 |
2023-02-01 22:01:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:01:59 | ------------------------------------ 2023-02-01 22:01:59 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-b77a1202-a9e0-4683-99aa-82ea1611dd19", "item-id": "item-8fbee4e2-5b4c-434f-894e-d50c0d5f4140" } 2023-02-01 22:01:59 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-b77a1202-a9e0-4683-99aa-82ea1611dd19", "item-id": "item-8fbee4e2-5b4c-434f-894e-d50c0d5f4140", "item": [ "<item id=\"item-8fbee4e2-5b4c-434f-894e-d50c0d5f4140\"><test>item-8fbee4e2-5b4c-434f-894e-d50c0d5f4140</test></item>" ] } 2023-02-01 22:01:59 | [Mutex] notify: [retrieved:item:item-8fbee4e2-5b4c-434f-894e-d50c0d5f4140:payload-matches:true:localhost] 2023-02-01 22:01:59 | [Mutex] received everything. 2023-02-01 22:01:59 | [Mutex] isItemNotified: retrieved:item:item-8fbee4e2-5b4c-434f-894e-d50c0d5f4140:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2023-02-01 22:01:59 |
2023-02-01 22:01:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:01:59 | ------------------------------------ 2023-02-01 22:01:59 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-02-01 22:01:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-b77a1202-a9e0-4683-99aa-82ea1611dd19", "test", "node-15187d21-f5d4-4d40-b3e8-a69c33ce4059" ] } |
retrieveUserSubscriptionsWithRegex | 0.052s |
2023-02-01 22:01:59 |
2023-02-01 22:01:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:01:59 | ------------------------------------ 2023-02-01 22:01:59 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-b77a1202-a9e0-4683-99aa-82ea1611dd19)" } 2023-02-01 22:01:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.009s |
2023-02-01 22:01:58 |
2023-02-01 22:01:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:01:58 | ------------------------------------ 2023-02-01 22:01:58 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-b77a1202-a9e0-4683-99aa-82ea1611dd19", "jids": [ "admin@test-domain.com" ] } 2023-02-01 22:01:58 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.063s |
2023-02-01 22:01:59 |
2023-02-01 22:01:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:01:59 | ------------------------------------ 2023-02-01 22:01:59 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-b77a1202-a9e0-4683-99aa-82ea1611dd19", "jids": [ "admin@test-domain.com" ] } 2023-02-01 22:01:59 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |