Generated by TestNG with ReportNG at 22:31 PDT on Thursday 07 July 2022
root@7c41cec37518 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 45.018s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.725s
2022-07-07 22:45:24 |

2022-07-07 22:45:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-07 22:45:24 | ------------------------------------

2022-07-07 22:45:24 | [Mutex] isItemNotified: node_kc2nx30204:exists :: false

2022-07-07 22:45:24 | [Mutex] waiting for: [node_kc2nx30204:create_node]

2022-07-07 22:45:24 | [Mutex] received everything.

2022-07-07 22:45:24 | [Mutex] isItemNotified: node_kc2nx30204:create_node:success :: true

2022-07-07 22:45:24 | [Mutex] waiting for: [node_kc2nx30204:subscribe_node]

2022-07-07 22:45:24 | [Mutex] received everything.

2022-07-07 22:45:24 | [Mutex] isItemNotified: node_kc2nx30204:subscribe_node:success :: true

2022-07-07 22:45:24 |


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


2022-07-07 22:45:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-07 22:45:24 | command: <data><node>node_kc2nx30204</node><entry><content>content_of2ml0205</content></entry></data>

2022-07-07 22:45:24 | target: http://localhost:8088

2022-07-07 22:45:24 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-07-07 22:45:24 | entity: <data><node>node_kc2nx30204</node><entry><content>content_of2ml0205</content></entry></data>

2022-07-07 22:45:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 05:45:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-07 22:45:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4c3e50bc-d2df-4bfc-9cf2-644364d8b87b</value></item-id></result>

2022-07-07 22:45:24 | contains: true

2022-07-07 22:45:24 | [Mutex] waiting for: [user_regularep0usl0203@test-domain.com:message:received:content_of2ml0205]

2022-07-07 22:45:24 | [Mutex] received everything.

2022-07-07 22:45:24 | [Mutex] isItemNotified: user_regularep0usl0203@test-domain.com:message:received:content_of2ml0205 :: true

2022-07-07 22:45:24 |


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


2022-07-07 22:45:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-07 22:45:24 | command: <data><node>node_kc2nx30204</node><expire-at>2022-07-08T05:45:19Z</expire-at><entry><content>content_iqcvk10206</content></entry></data>

2022-07-07 22:45:24 | target: http://localhost:8088

2022-07-07 22:45:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-07 22:45:24 | entity: <data><node>node_kc2nx30204</node><expire-at>2022-07-08T05:45:19Z</expire-at><entry><content>content_iqcvk10206</content></entry></data>

2022-07-07 22:45:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 05:45:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-07 22:45:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8f95d9bd-c41f-4a03-b486-4ba6505ecaa5</value></item-id></result>

2022-07-07 22:45:24 | contains: true

2022-07-07 22:45:24 | [Mutex] waiting for: [user_regularep0usl0203@test-domain.com:message:received:content_iqcvk10206]

2022-07-07 22:45:39 | [Mutex] timeout. Not received [user_regularep0usl0203@test-domain.com:message:received:content_iqcvk10206]

2022-07-07 22:45:39 | [Mutex] isItemNotified: user_regularep0usl0203@test-domain.com:message:received:content_iqcvk10206 :: false

2022-07-07 22:45:39 |


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


2022-07-07 22:45:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-07 22:45:39 | command: <data><node>node_kc2nx30204</node><entry><content>content_subrds0207</content></entry></data>

2022-07-07 22:45:39 | target: http://localhost:8088

2022-07-07 22:45:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-07 22:45:39 | entity: <data><node>node_kc2nx30204</node><entry><content>content_subrds0207</content></entry></data>

2022-07-07 22:45:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 05:45:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-07 22:45:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7d7eb0a5-6a57-460d-9bff-37182baf112d</value></item-id></result>

2022-07-07 22:45:39 | contains: true

2022-07-07 22:45:44 | [Mutex] waiting for: [user_regularep0usl0203@test-domain.com:message:received:content_subrds0207]

2022-07-07 22:45:44 | [Mutex] received everything.

2022-07-07 22:45:44 | [Mutex] isItemNotified: user_regularep0usl0203@test-domain.com:message:received:content_subrds0207 :: true

2022-07-07 22:45:44 |


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


2022-07-07 22:45:44 | [Mutex] received everything.

2022-07-07 22:45:44 | [Mutex] isItemNotified: node_kc2nx30204:subscribe_node:success :: true

2022-07-07 22:45:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-07 22:45:44 | command: <data><node>node_kc2nx30204</node><expire-at>2022-07-08T05:45:49Z</expire-at><entry><content>content_p76jjl0208</content></entry></data>

2022-07-07 22:45:44 | target: http://localhost:8088

2022-07-07 22:45:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-07 22:45:44 | entity: <data><node>node_kc2nx30204</node><expire-at>2022-07-08T05:45:49Z</expire-at><entry><content>content_p76jjl0208</content></entry></data>

2022-07-07 22:45:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 05:45:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-07 22:45:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4017e054-5299-4902-9cde-6feb0afc2910</value></item-id></result>

2022-07-07 22:45:44 | contains: true

2022-07-07 22:45:52 | [Mutex] waiting for: [user_regularep0usl0203@test-domain.com:message:received:content_p76jjl0208]

2022-07-07 22:45:52 | [Mutex] waiting for: [user_regularep0usl0203@test-domain.com:message:received:content_p76jjl0208]

2022-07-07 22:45:52 | [Mutex] waiting for: [user_regularep0usl0203@test-domain.com:message:received:content_p76jjl0208]

2022-07-07 22:46:07 | [Mutex] timeout. Not received [user_regularep0usl0203@test-domain.com:message:received:content_p76jjl0208]

2022-07-07 22:46:07 | [Mutex] received everything.

2022-07-07 22:46:07 | [Mutex] isItemNotified: user_regularep0usl0203@test-domain.com:message:received:content_p76jjl0208 :: false

2022-07-07 22:46:07 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_p76jjl0208 :: true