Generated by TestNG with ReportNG at 22:19 PDT on Thursday 15 September 2022
root@f9c07ffec79b / Java 17.0.2 (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.559s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2022-09-15 22:34:57 |

2022-09-15 22:34:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:34:57 | ------------------------------------

2022-09-15 22:34:57 | [Mutex] waiting for: [configured:node:node-a7617be8-813c-4874-a857-886d8ca95cd9:node-2ee6db1e-f9d1-4222-8eda-8b10086ffba1]

2022-09-15 22:34:57 | [Mutex] received everything.

2022-09-15 22:34:57 | [Mutex] isItemNotified: configured:node:node-a7617be8-813c-4874-a857-886d8ca95cd9:node-2ee6db1e-f9d1-4222-8eda-8b10086ffba1 :: true

2022-09-15 22:34:58 | [Mutex] waiting for: [received:nodes:b8ffdd6c-8c98-4cb1-8a3d-8d8a21d68a44:localhost]

2022-09-15 22:34:58 | [Mutex] received everything.

2022-09-15 22:34:58 | [Mutex] isItemNotified: received:node:b8ffdd6c-8c98-4cb1-8a3d-8d8a21d68a44:localhost:node-a7617be8-813c-4874-a857-886d8ca95cd9:Node a7617be8-813c-4874-a857-886d8ca95cd9 :: true

2022-09-15 22:34:58 | [Mutex] waiting for: [received:nodes:655ec0c2-a3a8-4865-ba83-7f5dec4fd6a6:localhost]

2022-09-15 22:34:58 | [Mutex] received everything.

2022-09-15 22:34:58 | [Mutex] isItemNotified: received:node:655ec0c2-a3a8-4865-ba83-7f5dec4fd6a6:localhost:node-a7617be8-813c-4874-a857-886d8ca95cd9:Node a7617be8-813c-4874-a857-886d8ca95cd9 :: false

createNodes 1.425s
2022-09-15 22:34:55 |

2022-09-15 22:34:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:34:55 | ------------------------------------

2022-09-15 22:34:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a7617be8-813c-4874-a857-886d8ca95cd9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a7617be8-813c-4874-a857-886d8ca95cd9</title></pubsub></data>

2022-09-15 22:34:55 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-15 22:34:56 | [Mutex] waiting for: [received:nodes:f16ee3b8-3c0d-446f-810f-bed789448cdb:localhost]

2022-09-15 22:34:56 | [Mutex] waiting for: [received:nodes:f16ee3b8-3c0d-446f-810f-bed789448cdb:localhost]

2022-09-15 22:34:56 | [Mutex] received everything.

2022-09-15 22:34:56 | [Mutex] isItemNotified: received:node:f16ee3b8-3c0d-446f-810f-bed789448cdb:localhost:node-a7617be8-813c-4874-a857-886d8ca95cd9:Node a7617be8-813c-4874-a857-886d8ca95cd9 :: true

createSubnodes 1.022s
2022-09-15 22:34:56 |

2022-09-15 22:34:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:34:56 | ------------------------------------

2022-09-15 22:34:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2ee6db1e-f9d1-4222-8eda-8b10086ffba1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2ee6db1e-f9d1-4222-8eda-8b10086ffba1</title></pubsub></data>

2022-09-15 22:34:56 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-15 22:34:57 | [Mutex] waiting for: [received:nodes:66e07708-f128-4caf-b0ca-b4999b9bd2ea:localhost]

2022-09-15 22:34:57 | [Mutex] waiting for: [received:nodes:66e07708-f128-4caf-b0ca-b4999b9bd2ea:localhost]

2022-09-15 22:34:57 | [Mutex] received everything.

2022-09-15 22:34:57 | [Mutex] isItemNotified: received:node:66e07708-f128-4caf-b0ca-b4999b9bd2ea:localhost:node-2ee6db1e-f9d1-4222-8eda-8b10086ffba1:Node 2ee6db1e-f9d1-4222-8eda-8b10086ffba1 :: true

deleteNodes 1.018s
2022-09-15 22:35:02 |

2022-09-15 22:35:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:35:02 | ------------------------------------

2022-09-15 22:35:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2ee6db1e-f9d1-4222-8eda-8b10086ffba1</node></data>

2022-09-15 22:35:02 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-15 22:35:03 | [Mutex] waiting for: [received:nodes:c4f791c3-7b69-465f-bed3-a5a935633fa3:localhost]

2022-09-15 22:35:03 | [Mutex] waiting for: [received:nodes:c4f791c3-7b69-465f-bed3-a5a935633fa3:localhost]

2022-09-15 22:35:03 | [Mutex] waiting for: [received:nodes:c4f791c3-7b69-465f-bed3-a5a935633fa3:localhost]

2022-09-15 22:35:03 | [Mutex] received everything.

2022-09-15 22:35:03 | [Mutex] isItemNotified: received:node:c4f791c3-7b69-465f-bed3-a5a935633fa3:localhost:node-2ee6db1e-f9d1-4222-8eda-8b10086ffba1:Node 2ee6db1e-f9d1-4222-8eda-8b10086ffba1 :: false

deleteSubnodes 1.146s
2022-09-15 22:35:01 |

2022-09-15 22:35:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:35:01 | ------------------------------------

2022-09-15 22:35:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a7617be8-813c-4874-a857-886d8ca95cd9</node></data>

2022-09-15 22:35:01 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-09-15 22:35:02 | [Mutex] waiting for: [received:nodes:34a5b8f1-0016-4410-8a8f-0c2185990241:localhost]

2022-09-15 22:35:02 | [Mutex] waiting for: [received:nodes:34a5b8f1-0016-4410-8a8f-0c2185990241:localhost]

2022-09-15 22:35:02 | [Mutex] received everything.

2022-09-15 22:35:02 | [Mutex] isItemNotified: received:node:34a5b8f1-0016-4410-8a8f-0c2185990241:localhost:node-a7617be8-813c-4874-a857-886d8ca95cd9:Node a7617be8-813c-4874-a857-886d8ca95cd9 :: false

2022-09-15 22:35:02 | [Mutex] waiting for: [received:nodes:b343bc39-1749-4803-a405-e1f901fa24e0:localhost]

2022-09-15 22:35:02 | [Mutex] received everything.

2022-09-15 22:35:02 | [Mutex] isItemNotified: received:node:b343bc39-1749-4803-a405-e1f901fa24e0:localhost:node-a7617be8-813c-4874-a857-886d8ca95cd9:Node a7617be8-813c-4874-a857-886d8ca95cd9 :: false

publishItemsToNodes 0.192s
2022-09-15 22:34:59 |

2022-09-15 22:34:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:34:59 | ------------------------------------

2022-09-15 22:34:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a7617be8-813c-4874-a857-886d8ca95cd9</node><item-id>item-8a94d451-0ace-4a33-bf08-d690557487db</item-id><entry><test>item-8a94d451-0ace-4a33-bf08-d690557487db</test></entry></data>

2022-09-15 22:35:00 | 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-8a94d451-0ace-4a33-bf08-d690557487db</value></item-id></result>

2022-09-15 22:35:00 | [Mutex] received everything.

2022-09-15 22:35:00 | [Mutex] isItemNotified: published:item:notifieditem-8a94d451-0ace-4a33-bf08-d690557487db:admin@test-domain.com :: true

retractItemsFromNodes 0.276s
2022-09-15 22:35:00 |

2022-09-15 22:35:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:35:00 | ------------------------------------

2022-09-15 22:35:00 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a7617be8-813c-4874-a857-886d8ca95cd9</node><item-id>item-8a94d451-0ace-4a33-bf08-d690557487db</item-id></data>

2022-09-15 22:35:00 | 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-8a94d451-0ace-4a33-bf08-d690557487db</value></item-id></result>

2022-09-15 22:35:00 | [Mutex] received everything.

2022-09-15 22:35:00 | [Mutex] isItemNotified: retracted:item:notifieditem-8a94d451-0ace-4a33-bf08-d690557487db:admin@test-domain.com :: true

retrieveItemsFromNodes 0.267s
2022-09-15 22:35:00 |

2022-09-15 22:35:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:35:00 | ------------------------------------

2022-09-15 22:35:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a7617be8-813c-4874-a857-886d8ca95cd9</node><item-id>item-8a94d451-0ace-4a33-bf08-d690557487db</item-id></data>

2022-09-15 22:35:00 | 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-a7617be8-813c-4874-a857-886d8ca95cd9</value></node><item-id type="text-single" label="Item ID"><value>item-8a94d451-0ace-4a33-bf08-d690557487db</value></item-id><item type="text-multi" label="Item"><value><item id="item-8a94d451-0ace-4a33-bf08-d690557487db"><test>item-8a94d451-0ace-4a33-bf08-d690557487db</test></item></value></item></result>

2022-09-15 22:35:00 | [Mutex] notify: [retrieved:item:item-8a94d451-0ace-4a33-bf08-d690557487db:payload-matches:true:localhost]

2022-09-15 22:35:00 | [Mutex] received everything.

2022-09-15 22:35:00 | [Mutex] isItemNotified: retrieved:item:item-8a94d451-0ace-4a33-bf08-d690557487db:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-15 22:35:00 |

2022-09-15 22:35:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:35:00 | ------------------------------------

2022-09-15 22:35:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-09-15 22:35:00 | 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-2ee6db1e-f9d1-4222-8eda-8b10086ffba1</value><value>node-a7617be8-813c-4874-a857-886d8ca95cd9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-15 22:35:00 |

2022-09-15 22:35:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:35:00 | ------------------------------------

2022-09-15 22:35:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a7617be8-813c-4874-a857-886d8ca95cd9)</node-pattern></data>

2022-09-15 22:35:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.175s
2022-09-15 22:34:58 |

2022-09-15 22:34:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:34:58 | ------------------------------------

2022-09-15 22:34:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a7617be8-813c-4874-a857-886d8ca95cd9</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-15 22:34:58 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.151s
2022-09-15 22:35:00 |

2022-09-15 22:35:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:35:00 | ------------------------------------

2022-09-15 22:35:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a7617be8-813c-4874-a857-886d8ca95cd9</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-15 22:35:00 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>