Generated by TestNG with ReportNG at 21:30 PST on Friday 25 February 2022
root@f29ef40080b5 / 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.122s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.725s
2022-02-25 21:46:44 |

2022-02-25 21:46:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-25 21:46:44 | ------------------------------------

2022-02-25 21:46:44 | [Mutex] isItemNotified: node_8cer450203:exists :: false

2022-02-25 21:46:44 | [Mutex] waiting for: [node_8cer450203:create_node]

2022-02-25 21:46:44 | [Mutex] received everything.

2022-02-25 21:46:44 | [Mutex] isItemNotified: node_8cer450203:create_node:success :: true

2022-02-25 21:46:44 | [Mutex] waiting for: [node_8cer450203:subscribe_node]

2022-02-25 21:46:44 | [Mutex] waiting for: [node_8cer450203:subscribe_node]

2022-02-25 21:46:44 | [Mutex] received everything.

2022-02-25 21:46:44 | [Mutex] isItemNotified: node_8cer450203:subscribe_node:success :: true

2022-02-25 21:46:44 |


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


2022-02-25 21:46:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-25 21:46:44 | command: <data><node>node_8cer450203</node><entry><content>content_s6zlo80204</content></entry></data>

2022-02-25 21:46:44 | target: http://localhost:8088

2022-02-25 21:46:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-25 21:46:44 | entity: <data><node>node_8cer450203</node><entry><content>content_s6zlo80204</content></entry></data>

2022-02-25 21:46:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Feb 2022 05:46:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-25 21:46:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>83878b9a-aef9-4c92-b7a2-2872d85901c9</value></item-id></result>

2022-02-25 21:46:44 | contains: true

2022-02-25 21:46:44 | [Mutex] received everything.

2022-02-25 21:46:44 | [Mutex] isItemNotified: user_regulargiwwdm0202@test-domain.com:message:received:content_s6zlo80204 :: true

2022-02-25 21:46:44 |


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


2022-02-25 21:46:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-25 21:46:44 | command: <data><node>node_8cer450203</node><expire-at>2022-02-26T05:46:39Z</expire-at><entry><content>content_w92tnf0205</content></entry></data>

2022-02-25 21:46:44 | target: http://localhost:8088

2022-02-25 21:46:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-25 21:46:44 | entity: <data><node>node_8cer450203</node><expire-at>2022-02-26T05:46:39Z</expire-at><entry><content>content_w92tnf0205</content></entry></data>

2022-02-25 21:46:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Feb 2022 05:46:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-25 21:46:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>882ee687-669f-4062-b888-e84ba56b2a34</value></item-id></result>

2022-02-25 21:46:44 | contains: true

2022-02-25 21:46:44 | [Mutex] waiting for: [user_regulargiwwdm0202@test-domain.com:message:received:content_w92tnf0205]

2022-02-25 21:46:59 | [Mutex] timeout. Not received [user_regulargiwwdm0202@test-domain.com:message:received:content_w92tnf0205]

2022-02-25 21:46:59 | [Mutex] isItemNotified: user_regulargiwwdm0202@test-domain.com:message:received:content_w92tnf0205 :: false

2022-02-25 21:46:59 |


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


2022-02-25 21:46:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-25 21:46:59 | command: <data><node>node_8cer450203</node><entry><content>content_f4g9710206</content></entry></data>

2022-02-25 21:46:59 | target: http://localhost:8088

2022-02-25 21:46:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-25 21:46:59 | entity: <data><node>node_8cer450203</node><entry><content>content_f4g9710206</content></entry></data>

2022-02-25 21:46:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Feb 2022 05:46:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-25 21:46:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6506c6de-2d82-4e96-8867-b2b7cc39aeb6</value></item-id></result>

2022-02-25 21:46:59 | contains: true

2022-02-25 21:47:05 | [Mutex] waiting for: [user_regulargiwwdm0202@test-domain.com:message:received:content_f4g9710206]

2022-02-25 21:47:05 | [Mutex] received everything.

2022-02-25 21:47:05 | [Mutex] isItemNotified: user_regulargiwwdm0202@test-domain.com:message:received:content_f4g9710206 :: true

2022-02-25 21:47:05 |


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


2022-02-25 21:47:05 | [Mutex] received everything.

2022-02-25 21:47:05 | [Mutex] isItemNotified: node_8cer450203:subscribe_node:success :: true

2022-02-25 21:47:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-25 21:47:05 | command: <data><node>node_8cer450203</node><expire-at>2022-02-26T05:47:10Z</expire-at><entry><content>content_8qpuww0207</content></entry></data>

2022-02-25 21:47:05 | target: http://localhost:8088

2022-02-25 21:47:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-25 21:47:05 | entity: <data><node>node_8cer450203</node><expire-at>2022-02-26T05:47:10Z</expire-at><entry><content>content_8qpuww0207</content></entry></data>

2022-02-25 21:47:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Feb 2022 05:47:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-25 21:47:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>82d94a0f-33ba-423c-b84d-70698ba956c5</value></item-id></result>

2022-02-25 21:47:05 | contains: true

2022-02-25 21:47:13 | [Mutex] waiting for: [user_regulargiwwdm0202@test-domain.com:message:received:content_8qpuww0207]

2022-02-25 21:47:13 | [Mutex] waiting for: [user_regulargiwwdm0202@test-domain.com:message:received:content_8qpuww0207]

2022-02-25 21:47:28 | [Mutex] timeout. Not received [user_regulargiwwdm0202@test-domain.com:message:received:content_8qpuww0207]

2022-02-25 21:47:28 | [Mutex] received everything.

2022-02-25 21:47:28 | [Mutex] isItemNotified: user_regulargiwwdm0202@test-domain.com:message:received:content_8qpuww0207 :: false

2022-02-25 21:47:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8qpuww0207 :: true