Generated by TestNG with ReportNG at 21:49 PST on Wednesday 30 December 2020
root@87f6aca6b6f2 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.076s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.761s
2020-12-30 22:05:35 |

2020-12-30 22:05:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-12-30 22:05:35 | ------------------------------------

2020-12-30 22:05:35 | [Mutex] isItemNotified: node_wt18bs0203:exists :: false

2020-12-30 22:05:35 | [Mutex] waiting for: [node_wt18bs0203:create_node]

2020-12-30 22:05:35 | [Mutex] received everything.

2020-12-30 22:05:35 | [Mutex] isItemNotified: node_wt18bs0203:create_node:success :: true

2020-12-30 22:05:35 | [Mutex] waiting for: [node_wt18bs0203:subscribe_node]

2020-12-30 22:05:35 | [Mutex] waiting for: [node_wt18bs0203:subscribe_node]

2020-12-30 22:05:35 | [Mutex] received everything.

2020-12-30 22:05:35 | [Mutex] isItemNotified: node_wt18bs0203:subscribe_node:success :: true

2020-12-30 22:05:35 |


===== publishing normal message (to online)


2020-12-30 22:05:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-30 22:05:35 | command: <data><node>node_wt18bs0203</node><entry><content>content_kti67i0204</content></entry></data>

2020-12-30 22:05:35 | target: http://localhost:8088

2020-12-30 22:05:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-30 22:05:35 | entity: <data><node>node_wt18bs0203</node><entry><content>content_kti67i0204</content></entry></data>

2020-12-30 22:05:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 06:05:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-30 22:05:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>da93a9f9-111b-4355-b24d-31682362dfba</value></item-id></result>

2020-12-30 22:05:35 | contains: true

2020-12-30 22:05:35 | [Mutex] received everything.

2020-12-30 22:05:35 | [Mutex] isItemNotified: user_regularh64ji00202@test-domain.com:message:received:content_kti67i0204 :: true

2020-12-30 22:05:35 |


===== publishing already old message - expecting message being filtered out (to online)


2020-12-30 22:05:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-30 22:05:35 | command: <data><node>node_wt18bs0203</node><expire-at>2020-12-31T06:05:30Z</expire-at><entry><content>content_ce0xhm0205</content></entry></data>

2020-12-30 22:05:35 | target: http://localhost:8088

2020-12-30 22:05:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-30 22:05:35 | entity: <data><node>node_wt18bs0203</node><expire-at>2020-12-31T06:05:30Z</expire-at><entry><content>content_ce0xhm0205</content></entry></data>

2020-12-30 22:05:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 06:05:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-30 22:05:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dc325683-404c-44f5-8e36-b15c9e615d68</value></item-id></result>

2020-12-30 22:05:35 | contains: true

2020-12-30 22:05:35 | [Mutex] waiting for: [user_regularh64ji00202@test-domain.com:message:received:content_ce0xhm0205]

2020-12-30 22:05:50 | [Mutex] timeout. Not received [user_regularh64ji00202@test-domain.com:message:received:content_ce0xhm0205]

2020-12-30 22:05:50 | [Mutex] isItemNotified: user_regularh64ji00202@test-domain.com:message:received:content_ce0xhm0205 :: false

2020-12-30 22:05:50 |


===== publishing normal message (to offline)


2020-12-30 22:05:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-30 22:05:50 | command: <data><node>node_wt18bs0203</node><entry><content>content_xtq3c60206</content></entry></data>

2020-12-30 22:05:50 | target: http://localhost:8088

2020-12-30 22:05:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-30 22:05:50 | entity: <data><node>node_wt18bs0203</node><entry><content>content_xtq3c60206</content></entry></data>

2020-12-30 22:05:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 06:05:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-30 22:05:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ea93bde7-fa26-448c-81ef-caeed33910ad</value></item-id></result>

2020-12-30 22:05:50 | contains: true

2020-12-30 22:05:55 | [Mutex] waiting for: [user_regularh64ji00202@test-domain.com:message:received:content_xtq3c60206]

2020-12-30 22:05:55 | [Mutex] waiting for: [user_regularh64ji00202@test-domain.com:message:received:content_xtq3c60206]

2020-12-30 22:05:55 | [Mutex] received everything.

2020-12-30 22:05:55 | [Mutex] isItemNotified: user_regularh64ji00202@test-domain.com:message:received:content_xtq3c60206 :: true

2020-12-30 22:05:55 |


===== publishing already old message - expecting message being filtered out (to offline)


2020-12-30 22:05:55 | [Mutex] received everything.

2020-12-30 22:05:55 | [Mutex] isItemNotified: node_wt18bs0203:subscribe_node:success :: true

2020-12-30 22:05:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-30 22:05:55 | command: <data><node>node_wt18bs0203</node><expire-at>2020-12-31T06:06:00Z</expire-at><entry><content>content_2tyfou0207</content></entry></data>

2020-12-30 22:05:55 | target: http://localhost:8088

2020-12-30 22:05:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-30 22:05:55 | entity: <data><node>node_wt18bs0203</node><expire-at>2020-12-31T06:06:00Z</expire-at><entry><content>content_2tyfou0207</content></entry></data>

2020-12-30 22:05:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 06:05:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-30 22:05:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>44da7ee3-3f2d-4867-b013-f145c6a3251d</value></item-id></result>

2020-12-30 22:05:55 | contains: true

2020-12-30 22:06:03 | [Mutex] waiting for: [user_regularh64ji00202@test-domain.com:message:received:content_2tyfou0207]

2020-12-30 22:06:03 | [Mutex] waiting for: [user_regularh64ji00202@test-domain.com:message:received:content_2tyfou0207]

2020-12-30 22:06:03 | [Mutex] waiting for: [user_regularh64ji00202@test-domain.com:message:received:content_2tyfou0207]

2020-12-30 22:06:18 | [Mutex] timeout. Not received [user_regularh64ji00202@test-domain.com:message:received:content_2tyfou0207]

2020-12-30 22:06:18 | [Mutex] received everything.

2020-12-30 22:06:18 | [Mutex] isItemNotified: user_regularh64ji00202@test-domain.com:message:received:content_2tyfou0207 :: false

2020-12-30 22:06:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2tyfou0207 :: true