Generated by TestNG with ReportNG at 22:16 PDT on Tuesday 04 July 2023
root@1512af24e4a5 / Java 17.0.6 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.535s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2023-07-04 22:30:40 |

2023-07-04 22:30:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:30:40 | ------------------------------------

2023-07-04 22:30:40 | [Mutex] waiting for: [configured:node:node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d:node-862faecd-589a-41a1-8d0a-6a8c863c2356]

2023-07-04 22:30:40 | [Mutex] received everything.

2023-07-04 22:30:40 | [Mutex] isItemNotified: configured:node:node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d:node-862faecd-589a-41a1-8d0a-6a8c863c2356 :: true

2023-07-04 22:30:41 | [Mutex] waiting for: [received:nodes:7cc66bb3-a570-42b1-b092-1a747ec9f4b4:localhost]

2023-07-04 22:30:41 | [Mutex] received everything.

2023-07-04 22:30:41 | [Mutex] isItemNotified: received:node:7cc66bb3-a570-42b1-b092-1a747ec9f4b4:localhost:node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d:Node 2dd6d69c-7385-45b6-a8ef-de41b5a1a93d :: true

2023-07-04 22:30:41 | [Mutex] waiting for: [received:nodes:51cc1d98-5b1e-461c-b90f-d31d4b94fa9a:localhost]

2023-07-04 22:30:41 | [Mutex] waiting for: [received:nodes:51cc1d98-5b1e-461c-b90f-d31d4b94fa9a:localhost]

2023-07-04 22:30:41 | [Mutex] waiting for: [received:nodes:51cc1d98-5b1e-461c-b90f-d31d4b94fa9a:localhost]

2023-07-04 22:30:41 | [Mutex] waiting for: [received:nodes:51cc1d98-5b1e-461c-b90f-d31d4b94fa9a:localhost]

2023-07-04 22:30:41 | [Mutex] received everything.

2023-07-04 22:30:41 | [Mutex] isItemNotified: received:node:51cc1d98-5b1e-461c-b90f-d31d4b94fa9a:localhost:node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d:Node 2dd6d69c-7385-45b6-a8ef-de41b5a1a93d :: false

createNodes 1.489s
2023-07-04 22:30:38 |

2023-07-04 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:30:38 | ------------------------------------

2023-07-04 22:30:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2dd6d69c-7385-45b6-a8ef-de41b5a1a93d</title></pubsub></data>

2023-07-04 22:30:38 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-04 22:30:39 | [Mutex] waiting for: [received:nodes:93407e33-25da-433f-a6d5-61e4ecf3122b:localhost]

2023-07-04 22:30:39 | [Mutex] waiting for: [received:nodes:93407e33-25da-433f-a6d5-61e4ecf3122b:localhost]

2023-07-04 22:30:39 | [Mutex] waiting for: [received:nodes:93407e33-25da-433f-a6d5-61e4ecf3122b:localhost]

2023-07-04 22:30:39 | [Mutex] waiting for: [received:nodes:93407e33-25da-433f-a6d5-61e4ecf3122b:localhost]

2023-07-04 22:30:39 | [Mutex] received everything.

2023-07-04 22:30:39 | [Mutex] isItemNotified: received:node:93407e33-25da-433f-a6d5-61e4ecf3122b:localhost:node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d:Node 2dd6d69c-7385-45b6-a8ef-de41b5a1a93d :: true

createSubnodes 1.033s
2023-07-04 22:30:39 |

2023-07-04 22:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:30:39 | ------------------------------------

2023-07-04 22:30:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-862faecd-589a-41a1-8d0a-6a8c863c2356</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 862faecd-589a-41a1-8d0a-6a8c863c2356</title></pubsub></data>

2023-07-04 22:30:39 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-04 22:30:40 | [Mutex] waiting for: [received:nodes:37faf1a9-4f0a-4340-a195-b3bc40715bf8:localhost]

2023-07-04 22:30:40 | [Mutex] waiting for: [received:nodes:37faf1a9-4f0a-4340-a195-b3bc40715bf8:localhost]

2023-07-04 22:30:40 | [Mutex] waiting for: [received:nodes:37faf1a9-4f0a-4340-a195-b3bc40715bf8:localhost]

2023-07-04 22:30:40 | [Mutex] waiting for: [received:nodes:37faf1a9-4f0a-4340-a195-b3bc40715bf8:localhost]

2023-07-04 22:30:40 | [Mutex] waiting for: [received:nodes:37faf1a9-4f0a-4340-a195-b3bc40715bf8:localhost]

2023-07-04 22:30:40 | [Mutex] received everything.

2023-07-04 22:30:40 | [Mutex] isItemNotified: received:node:37faf1a9-4f0a-4340-a195-b3bc40715bf8:localhost:node-862faecd-589a-41a1-8d0a-6a8c863c2356:Node 862faecd-589a-41a1-8d0a-6a8c863c2356 :: true

deleteNodes 1.019s
2023-07-04 22:30:45 |

2023-07-04 22:30:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:30:45 | ------------------------------------

2023-07-04 22:30:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-862faecd-589a-41a1-8d0a-6a8c863c2356</node></data>

2023-07-04 22:30:45 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-04 22:30:46 | [Mutex] waiting for: [received:nodes:48b404e1-fa16-46bc-88e3-9d1709750d9f:localhost]

2023-07-04 22:30:46 | [Mutex] waiting for: [received:nodes:48b404e1-fa16-46bc-88e3-9d1709750d9f:localhost]

2023-07-04 22:30:46 | [Mutex] waiting for: [received:nodes:48b404e1-fa16-46bc-88e3-9d1709750d9f:localhost]

2023-07-04 22:30:46 | [Mutex] received everything.

2023-07-04 22:30:46 | [Mutex] isItemNotified: received:node:48b404e1-fa16-46bc-88e3-9d1709750d9f:localhost:node-862faecd-589a-41a1-8d0a-6a8c863c2356:Node 862faecd-589a-41a1-8d0a-6a8c863c2356 :: false

deleteSubnodes 1.124s
2023-07-04 22:30:44 |

2023-07-04 22:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:30:44 | ------------------------------------

2023-07-04 22:30:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d</node></data>

2023-07-04 22:30:44 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-04 22:30:45 | [Mutex] waiting for: [received:nodes:4321de7e-a992-45ab-a825-f1ecc125d0e3:localhost]

2023-07-04 22:30:45 | [Mutex] waiting for: [received:nodes:4321de7e-a992-45ab-a825-f1ecc125d0e3:localhost]

2023-07-04 22:30:45 | [Mutex] waiting for: [received:nodes:4321de7e-a992-45ab-a825-f1ecc125d0e3:localhost]

2023-07-04 22:30:45 | [Mutex] waiting for: [received:nodes:4321de7e-a992-45ab-a825-f1ecc125d0e3:localhost]

2023-07-04 22:30:45 | [Mutex] received everything.

2023-07-04 22:30:45 | [Mutex] isItemNotified: received:node:4321de7e-a992-45ab-a825-f1ecc125d0e3:localhost:node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d:Node 2dd6d69c-7385-45b6-a8ef-de41b5a1a93d :: false

2023-07-04 22:30:45 | [Mutex] waiting for: [received:nodes:a69d30c4-86f2-48dd-a78b-2a14911e450d:localhost]

2023-07-04 22:30:45 | [Mutex] received everything.

2023-07-04 22:30:45 | [Mutex] isItemNotified: received:node:a69d30c4-86f2-48dd-a78b-2a14911e450d:localhost:node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d:Node 2dd6d69c-7385-45b6-a8ef-de41b5a1a93d :: false

publishItemsToNodes 0.245s
2023-07-04 22:30:42 |

2023-07-04 22:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:30:42 | ------------------------------------

2023-07-04 22:30:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d</node><item-id>item-fc0620e2-3cd5-4328-a49f-a5832cdc47d0</item-id><entry><test>item-fc0620e2-3cd5-4328-a49f-a5832cdc47d0</test></entry></data>

2023-07-04 22:30:42 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-fc0620e2-3cd5-4328-a49f-a5832cdc47d0</value></item-id></result>

2023-07-04 22:30:42 | [Mutex] waiting for: [published:item:notifieditem-fc0620e2-3cd5-4328-a49f-a5832cdc47d0:admin@test-domain.com]

2023-07-04 22:30:43 | [Mutex] received everything.

2023-07-04 22:30:43 | [Mutex] isItemNotified: published:item:notifieditem-fc0620e2-3cd5-4328-a49f-a5832cdc47d0:admin@test-domain.com :: true

retractItemsFromNodes 0.284s
2023-07-04 22:30:43 |

2023-07-04 22:30:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:30:43 | ------------------------------------

2023-07-04 22:30:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d</node><item-id>item-fc0620e2-3cd5-4328-a49f-a5832cdc47d0</item-id></data>

2023-07-04 22:30:43 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-fc0620e2-3cd5-4328-a49f-a5832cdc47d0</value></item-id></result>

2023-07-04 22:30:43 | [Mutex] received everything.

2023-07-04 22:30:43 | [Mutex] isItemNotified: retracted:item:notifieditem-fc0620e2-3cd5-4328-a49f-a5832cdc47d0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.234s
2023-07-04 22:30:43 |

2023-07-04 22:30:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:30:43 | ------------------------------------

2023-07-04 22:30:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d</node><item-id>item-fc0620e2-3cd5-4328-a49f-a5832cdc47d0</item-id></data>

2023-07-04 22:30:43 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d</value></node><item-id type="text-single" label="Item ID"><value>item-fc0620e2-3cd5-4328-a49f-a5832cdc47d0</value></item-id><item type="text-multi" label="Item"><value><item id="item-fc0620e2-3cd5-4328-a49f-a5832cdc47d0"><test>item-fc0620e2-3cd5-4328-a49f-a5832cdc47d0</test></item></value></item></result>

2023-07-04 22:30:43 | [Mutex] notify: [retrieved:item:item-fc0620e2-3cd5-4328-a49f-a5832cdc47d0:payload-matches:true:localhost]

2023-07-04 22:30:43 | [Mutex] received everything.

2023-07-04 22:30:43 | [Mutex] isItemNotified: retrieved:item:item-fc0620e2-3cd5-4328-a49f-a5832cdc47d0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-07-04 22:30:43 |

2023-07-04 22:30:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:30:43 | ------------------------------------

2023-07-04 22:30:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-07-04 22:30:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d</value><value>node-862faecd-589a-41a1-8d0a-6a8c863c2356</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2023-07-04 22:30:43 |

2023-07-04 22:30:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:30:43 | ------------------------------------

2023-07-04 22:30:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d)</node-pattern></data>

2023-07-04 22:30:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.110s
2023-07-04 22:30:41 |

2023-07-04 22:30:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:30:41 | ------------------------------------

2023-07-04 22:30:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-04 22:30:41 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.182s
2023-07-04 22:30:43 |

2023-07-04 22:30:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 22:30:43 | ------------------------------------

2023-07-04 22:30:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2dd6d69c-7385-45b6-a8ef-de41b5a1a93d</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-04 22:30:43 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>