Generated by TestNG with ReportNG at 22:18 PDT on Thursday 04 August 2022
root@ed1b7dd8a1b3 / 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 : 44.929s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.657s
2022-08-04 22:32:50 |

2022-08-04 22:32:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-04 22:32:50 | ------------------------------------

2022-08-04 22:32:50 | [Mutex] isItemNotified: node_e2a5v00204:exists :: false

2022-08-04 22:32:50 | [Mutex] waiting for: [node_e2a5v00204:create_node]

2022-08-04 22:32:50 | [Mutex] received everything.

2022-08-04 22:32:50 | [Mutex] isItemNotified: node_e2a5v00204:create_node:success :: true

2022-08-04 22:32:50 | [Mutex] waiting for: [node_e2a5v00204:subscribe_node]

2022-08-04 22:32:50 | [Mutex] received everything.

2022-08-04 22:32:50 | [Mutex] isItemNotified: node_e2a5v00204:subscribe_node:success :: true

2022-08-04 22:32:50 |


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


2022-08-04 22:32:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-04 22:32:50 | command: <data><node>node_e2a5v00204</node><entry><content>content_v21g910205</content></entry></data>

2022-08-04 22:32:50 | target: http://localhost:8088

2022-08-04 22:32:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-04 22:32:50 | entity: <data><node>node_e2a5v00204</node><entry><content>content_v21g910205</content></entry></data>

2022-08-04 22:32:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Aug 2022 05:32:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-04 22:32:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>24392a35-ebcc-4aef-a252-edee77df1e14</value></item-id></result>

2022-08-04 22:32:50 | contains: true

2022-08-04 22:32:50 | [Mutex] received everything.

2022-08-04 22:32:50 | [Mutex] isItemNotified: user_regularpe3a5f0203@test-domain.com:message:received:content_v21g910205 :: true

2022-08-04 22:32:50 |


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


2022-08-04 22:32:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-04 22:32:50 | command: <data><node>node_e2a5v00204</node><expire-at>2022-08-05T05:32:45Z</expire-at><entry><content>content_o4jpiu0206</content></entry></data>

2022-08-04 22:32:50 | target: http://localhost:8088

2022-08-04 22:32:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-04 22:32:50 | entity: <data><node>node_e2a5v00204</node><expire-at>2022-08-05T05:32:45Z</expire-at><entry><content>content_o4jpiu0206</content></entry></data>

2022-08-04 22:32:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Aug 2022 05:32:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-04 22:32:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0cd8a488-a9cb-4666-af8d-2149a1cbfcc4</value></item-id></result>

2022-08-04 22:32:50 | contains: true

2022-08-04 22:32:50 | [Mutex] waiting for: [user_regularpe3a5f0203@test-domain.com:message:received:content_o4jpiu0206]

2022-08-04 22:33:05 | [Mutex] timeout. Not received [user_regularpe3a5f0203@test-domain.com:message:received:content_o4jpiu0206]

2022-08-04 22:33:05 | [Mutex] isItemNotified: user_regularpe3a5f0203@test-domain.com:message:received:content_o4jpiu0206 :: false

2022-08-04 22:33:05 |


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


2022-08-04 22:33:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-04 22:33:05 | command: <data><node>node_e2a5v00204</node><entry><content>content_e6ejdl0207</content></entry></data>

2022-08-04 22:33:05 | target: http://localhost:8088

2022-08-04 22:33:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-04 22:33:05 | entity: <data><node>node_e2a5v00204</node><entry><content>content_e6ejdl0207</content></entry></data>

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

2022-08-04 22:33:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b9fdefaf-c94d-40f9-b1a8-6b593c1b894c</value></item-id></result>

2022-08-04 22:33:05 | contains: true

2022-08-04 22:33:10 | [Mutex] waiting for: [user_regularpe3a5f0203@test-domain.com:message:received:content_e6ejdl0207]

2022-08-04 22:33:10 | [Mutex] waiting for: [user_regularpe3a5f0203@test-domain.com:message:received:content_e6ejdl0207]

2022-08-04 22:33:10 | [Mutex] received everything.

2022-08-04 22:33:10 | [Mutex] isItemNotified: user_regularpe3a5f0203@test-domain.com:message:received:content_e6ejdl0207 :: true

2022-08-04 22:33:10 |


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


2022-08-04 22:33:10 | [Mutex] received everything.

2022-08-04 22:33:10 | [Mutex] isItemNotified: node_e2a5v00204:subscribe_node:success :: true

2022-08-04 22:33:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-04 22:33:10 | command: <data><node>node_e2a5v00204</node><expire-at>2022-08-05T05:33:15Z</expire-at><entry><content>content_u74vsz0208</content></entry></data>

2022-08-04 22:33:10 | target: http://localhost:8088

2022-08-04 22:33:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-04 22:33:10 | entity: <data><node>node_e2a5v00204</node><expire-at>2022-08-05T05:33:15Z</expire-at><entry><content>content_u74vsz0208</content></entry></data>

2022-08-04 22:33:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Aug 2022 05:33:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-04 22:33:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>58dd8e9e-79a6-4869-8394-f5a73be3981c</value></item-id></result>

2022-08-04 22:33:10 | contains: true

2022-08-04 22:33:19 | [Mutex] waiting for: [user_regularpe3a5f0203@test-domain.com:message:received:content_u74vsz0208]

2022-08-04 22:33:34 | [Mutex] timeout. Not received [user_regularpe3a5f0203@test-domain.com:message:received:content_u74vsz0208]

2022-08-04 22:33:34 | [Mutex] received everything.

2022-08-04 22:33:34 | [Mutex] isItemNotified: user_regularpe3a5f0203@test-domain.com:message:received:content_u74vsz0208 :: false

2022-08-04 22:33:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_u74vsz0208 :: true