Generated by TestNG with ReportNG at 22:26 PDT on Tuesday 25 May 2021
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.141s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.664s
2021-05-25 22:42:40 |

2021-05-25 22:42:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-25 22:42:40 | ------------------------------------

2021-05-25 22:42:40 | [Mutex] isItemNotified: node_nzyln50203:exists :: false

2021-05-25 22:42:40 | [Mutex] waiting for: [node_nzyln50203:create_node]

2021-05-25 22:42:40 | [Mutex] received everything.

2021-05-25 22:42:40 | [Mutex] isItemNotified: node_nzyln50203:create_node:success :: true

2021-05-25 22:42:40 | [Mutex] waiting for: [node_nzyln50203:subscribe_node]

2021-05-25 22:42:40 | [Mutex] waiting for: [node_nzyln50203:subscribe_node]

2021-05-25 22:42:40 | [Mutex] received everything.

2021-05-25 22:42:40 | [Mutex] isItemNotified: node_nzyln50203:subscribe_node:success :: true

2021-05-25 22:42:40 |


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


2021-05-25 22:42:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-25 22:42:40 | command: <data><node>node_nzyln50203</node><entry><content>content_2fryo0204</content></entry></data>

2021-05-25 22:42:40 | target: http://localhost:8088

2021-05-25 22:42:40 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-05-25 22:42:40 | entity: <data><node>node_nzyln50203</node><entry><content>content_2fryo0204</content></entry></data>

2021-05-25 22:42:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 May 2021 05:42:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-25 22:42:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>276a649c-ea39-403b-81a1-8b6328b3af6e</value></item-id></result>

2021-05-25 22:42:40 | contains: true

2021-05-25 22:42:40 | [Mutex] waiting for: [user_regular58xm6l0202@test-domain.com:message:received:content_2fryo0204]

2021-05-25 22:42:40 | [Mutex] received everything.

2021-05-25 22:42:40 | [Mutex] isItemNotified: user_regular58xm6l0202@test-domain.com:message:received:content_2fryo0204 :: true

2021-05-25 22:42:40 |


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


2021-05-25 22:42:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-25 22:42:40 | command: <data><node>node_nzyln50203</node><expire-at>2021-05-26T05:42:35Z</expire-at><entry><content>content_h4bqui0205</content></entry></data>

2021-05-25 22:42:40 | target: http://localhost:8088

2021-05-25 22:42:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-25 22:42:40 | entity: <data><node>node_nzyln50203</node><expire-at>2021-05-26T05:42:35Z</expire-at><entry><content>content_h4bqui0205</content></entry></data>

2021-05-25 22:42:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 May 2021 05:42:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-25 22:42:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d1fb4c22-1d9e-4d8d-bc70-7526cb046bb3</value></item-id></result>

2021-05-25 22:42:40 | contains: true

2021-05-25 22:42:40 | [Mutex] waiting for: [user_regular58xm6l0202@test-domain.com:message:received:content_h4bqui0205]

2021-05-25 22:42:55 | [Mutex] timeout. Not received [user_regular58xm6l0202@test-domain.com:message:received:content_h4bqui0205]

2021-05-25 22:42:55 | [Mutex] isItemNotified: user_regular58xm6l0202@test-domain.com:message:received:content_h4bqui0205 :: false

2021-05-25 22:42:55 |


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


2021-05-25 22:42:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-25 22:42:55 | command: <data><node>node_nzyln50203</node><entry><content>content_n5ej2c0206</content></entry></data>

2021-05-25 22:42:55 | target: http://localhost:8088

2021-05-25 22:42:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-25 22:42:55 | entity: <data><node>node_nzyln50203</node><entry><content>content_n5ej2c0206</content></entry></data>

2021-05-25 22:42:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 May 2021 05:42:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-25 22:42:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f8e35409-e969-415c-8f86-83541a78db85</value></item-id></result>

2021-05-25 22:42:55 | contains: true

2021-05-25 22:43:01 | [Mutex] waiting for: [user_regular58xm6l0202@test-domain.com:message:received:content_n5ej2c0206]

2021-05-25 22:43:01 | [Mutex] received everything.

2021-05-25 22:43:01 | [Mutex] isItemNotified: user_regular58xm6l0202@test-domain.com:message:received:content_n5ej2c0206 :: true

2021-05-25 22:43:01 |


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


2021-05-25 22:43:01 | [Mutex] received everything.

2021-05-25 22:43:01 | [Mutex] isItemNotified: node_nzyln50203:subscribe_node:success :: true

2021-05-25 22:43:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-25 22:43:01 | command: <data><node>node_nzyln50203</node><expire-at>2021-05-26T05:43:06Z</expire-at><entry><content>content_z22rbj0207</content></entry></data>

2021-05-25 22:43:01 | target: http://localhost:8088

2021-05-25 22:43:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-25 22:43:01 | entity: <data><node>node_nzyln50203</node><expire-at>2021-05-26T05:43:06Z</expire-at><entry><content>content_z22rbj0207</content></entry></data>

2021-05-25 22:43:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 May 2021 05:43:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-25 22:43:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>99d25a4b-a399-42c9-a3d0-f581ff18ed7d</value></item-id></result>

2021-05-25 22:43:01 | contains: true

2021-05-25 22:43:09 | [Mutex] waiting for: [user_regular58xm6l0202@test-domain.com:message:received:content_z22rbj0207]

2021-05-25 22:43:24 | [Mutex] timeout. Not received [user_regular58xm6l0202@test-domain.com:message:received:content_z22rbj0207]

2021-05-25 22:43:24 | [Mutex] received everything.

2021-05-25 22:43:24 | [Mutex] isItemNotified: user_regular58xm6l0202@test-domain.com:message:received:content_z22rbj0207 :: false

2021-05-25 22:43:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_z22rbj0207 :: true