Generated by TestNG with ReportNG at 21:58 PST on Thursday 14 January 2021
root@43fec6d4badf / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 10.303s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2021-01-14 22:14:01 |

2021-01-14 22:14:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:14:01 | ------------------------------------

2021-01-14 22:14:01 | [Mutex] waiting for: [configured:node:node-ccd5cadf-5073-4109-b904-0647213d46c4:node-3e90b2ac-a654-4809-8935-836c905b0fe8]

2021-01-14 22:14:01 | [Mutex] received everything.

2021-01-14 22:14:01 | [Mutex] isItemNotified: configured:node:node-ccd5cadf-5073-4109-b904-0647213d46c4:node-3e90b2ac-a654-4809-8935-836c905b0fe8 :: true

2021-01-14 22:14:02 | [Mutex] waiting for: [received:nodes:4763809c-433d-4558-a8fe-90e6d59cfdf7:localhost]

2021-01-14 22:14:02 | [Mutex] received everything.

2021-01-14 22:14:02 | [Mutex] isItemNotified: received:node:4763809c-433d-4558-a8fe-90e6d59cfdf7:localhost:node-ccd5cadf-5073-4109-b904-0647213d46c4:Node ccd5cadf-5073-4109-b904-0647213d46c4 :: true

2021-01-14 22:14:02 | [Mutex] waiting for: [received:nodes:e13cf911-881c-4bad-9fd7-01ba7df6610c:localhost]

2021-01-14 22:14:02 | [Mutex] received everything.

2021-01-14 22:14:02 | [Mutex] isItemNotified: received:node:e13cf911-881c-4bad-9fd7-01ba7df6610c:localhost:node-ccd5cadf-5073-4109-b904-0647213d46c4:Node ccd5cadf-5073-4109-b904-0647213d46c4 :: false

createNodes 1.559s
2021-01-14 22:13:59 |

2021-01-14 22:13:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:13:59 | ------------------------------------

2021-01-14 22:13:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ccd5cadf-5073-4109-b904-0647213d46c4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ccd5cadf-5073-4109-b904-0647213d46c4</title></pubsub></data>

2021-01-14 22:13:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-14 22:14:00 | [Mutex] waiting for: [received:nodes:9ef7d05e-d1c4-4143-8bf1-4886c395fb20:localhost]

2021-01-14 22:14:00 | [Mutex] received everything.

2021-01-14 22:14:00 | [Mutex] isItemNotified: received:node:9ef7d05e-d1c4-4143-8bf1-4886c395fb20:localhost:node-ccd5cadf-5073-4109-b904-0647213d46c4:Node ccd5cadf-5073-4109-b904-0647213d46c4 :: true

createSubnodes 1.025s
2021-01-14 22:14:00 |

2021-01-14 22:14:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:14:00 | ------------------------------------

2021-01-14 22:14:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3e90b2ac-a654-4809-8935-836c905b0fe8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3e90b2ac-a654-4809-8935-836c905b0fe8</title></pubsub></data>

2021-01-14 22:14:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-14 22:14:01 | [Mutex] waiting for: [received:nodes:8eb12d2d-ea1f-4756-8ef7-59c4b1aa53a4:localhost]

2021-01-14 22:14:01 | [Mutex] received everything.

2021-01-14 22:14:01 | [Mutex] isItemNotified: received:node:8eb12d2d-ea1f-4756-8ef7-59c4b1aa53a4:localhost:node-3e90b2ac-a654-4809-8935-836c905b0fe8:Node 3e90b2ac-a654-4809-8935-836c905b0fe8 :: true

deleteNodes 1.022s
2021-01-14 22:14:07 |

2021-01-14 22:14:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:14:07 | ------------------------------------

2021-01-14 22:14:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3e90b2ac-a654-4809-8935-836c905b0fe8</node></data>

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

2021-01-14 22:14:08 | [Mutex] waiting for: [received:nodes:a7316fcc-ceaf-455c-a913-6e0321ea409a:localhost]

2021-01-14 22:14:08 | [Mutex] received everything.

2021-01-14 22:14:08 | [Mutex] isItemNotified: received:node:a7316fcc-ceaf-455c-a913-6e0321ea409a:localhost:node-3e90b2ac-a654-4809-8935-836c905b0fe8:Node 3e90b2ac-a654-4809-8935-836c905b0fe8 :: false

deleteSubnodes 1.136s
2021-01-14 22:14:06 |

2021-01-14 22:14:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:14:06 | ------------------------------------

2021-01-14 22:14:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ccd5cadf-5073-4109-b904-0647213d46c4</node></data>

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

2021-01-14 22:14:07 | [Mutex] waiting for: [received:nodes:623c976a-6249-4433-8f6f-27dd62937b59:localhost]

2021-01-14 22:14:07 | [Mutex] received everything.

2021-01-14 22:14:07 | [Mutex] isItemNotified: received:node:623c976a-6249-4433-8f6f-27dd62937b59:localhost:node-ccd5cadf-5073-4109-b904-0647213d46c4:Node ccd5cadf-5073-4109-b904-0647213d46c4 :: false

2021-01-14 22:14:07 | [Mutex] waiting for: [received:nodes:3792f2f4-cd59-44a1-83f0-028940698bb8:localhost]

2021-01-14 22:14:07 | [Mutex] received everything.

2021-01-14 22:14:07 | [Mutex] isItemNotified: received:node:3792f2f4-cd59-44a1-83f0-028940698bb8:localhost:node-ccd5cadf-5073-4109-b904-0647213d46c4:Node ccd5cadf-5073-4109-b904-0647213d46c4 :: false

publishItemsToNodes 0.206s
2021-01-14 22:14:03 |

2021-01-14 22:14:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:14:03 | ------------------------------------

2021-01-14 22:14:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ccd5cadf-5073-4109-b904-0647213d46c4</node><item-id>item-5fdad2f3-b134-488e-8755-e4be92e2df63</item-id><entry><test>item-5fdad2f3-b134-488e-8755-e4be92e2df63</test></entry></data>

2021-01-14 22:14:04 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-5fdad2f3-b134-488e-8755-e4be92e2df63</value></item-id></result>

2021-01-14 22:14:04 | [Mutex] waiting for: [published:item:notifieditem-5fdad2f3-b134-488e-8755-e4be92e2df63:admin@test-domain.com]

2021-01-14 22:14:04 | [Mutex] received everything.

2021-01-14 22:14:04 | [Mutex] isItemNotified: published:item:notifieditem-5fdad2f3-b134-488e-8755-e4be92e2df63:admin@test-domain.com :: true

retractItemsFromNodes 0.404s
2021-01-14 22:14:04 |

2021-01-14 22:14:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:14:04 | ------------------------------------

2021-01-14 22:14:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ccd5cadf-5073-4109-b904-0647213d46c4</node><item-id>item-5fdad2f3-b134-488e-8755-e4be92e2df63</item-id></data>

2021-01-14 22:14:04 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-5fdad2f3-b134-488e-8755-e4be92e2df63</value></item-id></result>

2021-01-14 22:14:04 | [Mutex] received everything.

2021-01-14 22:14:04 | [Mutex] isItemNotified: retracted:item:notifieditem-5fdad2f3-b134-488e-8755-e4be92e2df63:admin@test-domain.com :: true

retrieveItemsFromNodes 0.244s
2021-01-14 22:14:04 |

2021-01-14 22:14:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:14:04 | ------------------------------------

2021-01-14 22:14:04 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ccd5cadf-5073-4109-b904-0647213d46c4</node><item-id>item-5fdad2f3-b134-488e-8755-e4be92e2df63</item-id></data>

2021-01-14 22:14:04 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-ccd5cadf-5073-4109-b904-0647213d46c4</value></node><item-id label="Item ID" type="text-single"><value>item-5fdad2f3-b134-488e-8755-e4be92e2df63</value></item-id><item label="Item" type="text-multi"><value><item id="item-5fdad2f3-b134-488e-8755-e4be92e2df63"><test>item-5fdad2f3-b134-488e-8755-e4be92e2df63</test></item></value></item></result>

2021-01-14 22:14:04 | [Mutex] notify: [retrieved:item:item-5fdad2f3-b134-488e-8755-e4be92e2df63:payload-matches:true:localhost]

2021-01-14 22:14:04 | [Mutex] received everything.

2021-01-14 22:14:04 | [Mutex] isItemNotified: retrieved:item:item-5fdad2f3-b134-488e-8755-e4be92e2df63:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-01-14 22:14:04 |

2021-01-14 22:14:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:14:04 | ------------------------------------

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

2021-01-14 22:14:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-3e90b2ac-a654-4809-8935-836c905b0fe8</value><value>node-ccd5cadf-5073-4109-b904-0647213d46c4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-01-14 22:14:04 |

2021-01-14 22:14:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:14:04 | ------------------------------------

2021-01-14 22:14:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ccd5cadf-5073-4109-b904-0647213d46c4)</node-pattern></data>

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

subscribeNodes 1.111s
2021-01-14 22:14:02 |

2021-01-14 22:14:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:14:02 | ------------------------------------

2021-01-14 22:14:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ccd5cadf-5073-4109-b904-0647213d46c4</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-14 22:14:02 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.323s
2021-01-14 22:14:04 |

2021-01-14 22:14:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-14 22:14:04 | ------------------------------------

2021-01-14 22:14:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ccd5cadf-5073-4109-b904-0647213d46c4</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-14 22:14:05 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>