Generated by TestNG with ReportNG at 23:33 CET on miƩrcoles 02 marzo 2022
wojtek@atlantiscity.local / Java 11.0.14.1 (Eclipse Adoptium) / Mac OS X 12.2.1 (x86_64)

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

Suites · Log Output

Test duration : 44,946s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43,677s
2022-03-02 23:46:27 |

2022-03-02 23:46:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-03-02 23:46:27 | ------------------------------------

2022-03-02 23:46:27 | [Mutex] isItemNotified: node_lsimgy0203:exists :: false

2022-03-02 23:46:27 | [Mutex] waiting for: [node_lsimgy0203:create_node]

2022-03-02 23:46:27 | [Mutex] received everything.

2022-03-02 23:46:27 | [Mutex] isItemNotified: node_lsimgy0203:create_node:success :: true

2022-03-02 23:46:27 | [Mutex] waiting for: [node_lsimgy0203:subscribe_node]

2022-03-02 23:46:27 | [Mutex] waiting for: [node_lsimgy0203:subscribe_node]

2022-03-02 23:46:27 | [Mutex] received everything.

2022-03-02 23:46:27 | [Mutex] isItemNotified: node_lsimgy0203:subscribe_node:success :: true

2022-03-02 23:46:27 |


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


2022-03-02 23:46:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-02 23:46:27 | command: <data><node>node_lsimgy0203</node><entry><content>content_h9nt0l0204</content></entry></data>

2022-03-02 23:46:27 | target: http://localhost:8088

2022-03-02 23:46:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-03-02 23:46:27 | entity: <data><node>node_lsimgy0203</node><entry><content>content_h9nt0l0204</content></entry></data>

2022-03-02 23:46:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Mar 2022 22:46:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-02 23:46:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>49ac491f-6f78-49a7-8277-f1dc958b5e23</value></item-id></result>

2022-03-02 23:46:27 | contains: true

2022-03-02 23:46:27 | [Mutex] received everything.

2022-03-02 23:46:27 | [Mutex] isItemNotified: user_regular5ktdel0202@test-domain.com:message:received:content_h9nt0l0204 :: true

2022-03-02 23:46:27 |


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


2022-03-02 23:46:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-02 23:46:27 | command: <data><node>node_lsimgy0203</node><expire-at>2022-03-02T22:46:22Z</expire-at><entry><content>content_rll6qs0205</content></entry></data>

2022-03-02 23:46:27 | target: http://localhost:8088

2022-03-02 23:46:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-03-02 23:46:27 | entity: <data><node>node_lsimgy0203</node><expire-at>2022-03-02T22:46:22Z</expire-at><entry><content>content_rll6qs0205</content></entry></data>

2022-03-02 23:46:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Mar 2022 22:46:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-02 23:46:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>086e3698-ada2-4f93-9ad8-2f75285c0c51</value></item-id></result>

2022-03-02 23:46:27 | contains: true

2022-03-02 23:46:27 | [Mutex] waiting for: [user_regular5ktdel0202@test-domain.com:message:received:content_rll6qs0205]

2022-03-02 23:46:42 | [Mutex] timeout. Not received [user_regular5ktdel0202@test-domain.com:message:received:content_rll6qs0205]

2022-03-02 23:46:42 | [Mutex] isItemNotified: user_regular5ktdel0202@test-domain.com:message:received:content_rll6qs0205 :: false

2022-03-02 23:46:42 |


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


2022-03-02 23:46:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-02 23:46:42 | command: <data><node>node_lsimgy0203</node><entry><content>content_k96hjt0206</content></entry></data>

2022-03-02 23:46:42 | target: http://localhost:8088

2022-03-02 23:46:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-03-02 23:46:42 | entity: <data><node>node_lsimgy0203</node><entry><content>content_k96hjt0206</content></entry></data>

2022-03-02 23:46:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Mar 2022 22:46:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-02 23:46:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>133f81d5-0855-41f1-b181-5310036436e7</value></item-id></result>

2022-03-02 23:46:42 | contains: true

2022-03-02 23:46:47 | [Mutex] received everything.

2022-03-02 23:46:47 | [Mutex] isItemNotified: user_regular5ktdel0202@test-domain.com:message:received:content_k96hjt0206 :: true

2022-03-02 23:46:47 |


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


2022-03-02 23:46:47 | [Mutex] received everything.

2022-03-02 23:46:47 | [Mutex] isItemNotified: node_lsimgy0203:subscribe_node:success :: true

2022-03-02 23:46:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-02 23:46:47 | command: <data><node>node_lsimgy0203</node><expire-at>2022-03-02T22:46:52Z</expire-at><entry><content>content_7c2yy30207</content></entry></data>

2022-03-02 23:46:47 | target: http://localhost:8088

2022-03-02 23:46:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-03-02 23:46:47 | entity: <data><node>node_lsimgy0203</node><expire-at>2022-03-02T22:46:52Z</expire-at><entry><content>content_7c2yy30207</content></entry></data>

2022-03-02 23:46:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Mar 2022 22:46:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-02 23:46:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c00d1f44-7f95-4671-a951-020b32b22a89</value></item-id></result>

2022-03-02 23:46:48 | contains: true

2022-03-02 23:46:56 | [Mutex] waiting for: [user_regular5ktdel0202@test-domain.com:message:received:content_7c2yy30207]

2022-03-02 23:47:11 | [Mutex] timeout. Not received [user_regular5ktdel0202@test-domain.com:message:received:content_7c2yy30207]

2022-03-02 23:47:11 | [Mutex] received everything.

2022-03-02 23:47:11 | [Mutex] isItemNotified: user_regular5ktdel0202@test-domain.com:message:received:content_7c2yy30207 :: false

2022-03-02 23:47:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7c2yy30207 :: true