Generated by TestNG with ReportNG at 22:41 PDT on Thursday 17 June 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.398s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.685s
2021-06-17 22:56:44 |

2021-06-17 22:56:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-06-17 22:56:44 | ------------------------------------

2021-06-17 22:56:44 | [Mutex] isItemNotified: node_r3a7yx0203:exists :: false

2021-06-17 22:56:44 | [Mutex] waiting for: [node_r3a7yx0203:create_node]

2021-06-17 22:56:44 | [Mutex] received everything.

2021-06-17 22:56:44 | [Mutex] isItemNotified: node_r3a7yx0203:create_node:success :: true

2021-06-17 22:56:44 | [Mutex] waiting for: [node_r3a7yx0203:subscribe_node]

2021-06-17 22:56:44 | [Mutex] received everything.

2021-06-17 22:56:44 | [Mutex] isItemNotified: node_r3a7yx0203:subscribe_node:success :: true

2021-06-17 22:56:44 |


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


2021-06-17 22:56:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-17 22:56:44 | command: <data><node>node_r3a7yx0203</node><entry><content>content_2ms0eb0204</content></entry></data>

2021-06-17 22:56:44 | target: http://localhost:8088

2021-06-17 22:56:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-17 22:56:44 | entity: <data><node>node_r3a7yx0203</node><entry><content>content_2ms0eb0204</content></entry></data>

2021-06-17 22:56:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:56:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-17 22:56:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6e6ec31f-c61e-4103-acc0-ba1a07f0415a</value></item-id></result>

2021-06-17 22:56:44 | contains: true

2021-06-17 22:56:44 | [Mutex] waiting for: [user_regularyawr6u0202@test-domain.com:message:received:content_2ms0eb0204]

2021-06-17 22:56:44 | [Mutex] received everything.

2021-06-17 22:56:44 | [Mutex] isItemNotified: user_regularyawr6u0202@test-domain.com:message:received:content_2ms0eb0204 :: true

2021-06-17 22:56:44 |


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


2021-06-17 22:56:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-17 22:56:44 | command: <data><node>node_r3a7yx0203</node><expire-at>2021-06-18T05:56:39Z</expire-at><entry><content>content_1us7r30205</content></entry></data>

2021-06-17 22:56:44 | target: http://localhost:8088

2021-06-17 22:56:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-17 22:56:44 | entity: <data><node>node_r3a7yx0203</node><expire-at>2021-06-18T05:56:39Z</expire-at><entry><content>content_1us7r30205</content></entry></data>

2021-06-17 22:56:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:56:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-17 22:56:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dd3e4179-2a48-4859-aed7-30acfe1d22cc</value></item-id></result>

2021-06-17 22:56:44 | contains: true

2021-06-17 22:56:44 | [Mutex] waiting for: [user_regularyawr6u0202@test-domain.com:message:received:content_1us7r30205]

2021-06-17 22:56:59 | [Mutex] timeout. Not received [user_regularyawr6u0202@test-domain.com:message:received:content_1us7r30205]

2021-06-17 22:56:59 | [Mutex] isItemNotified: user_regularyawr6u0202@test-domain.com:message:received:content_1us7r30205 :: false

2021-06-17 22:56:59 |


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


2021-06-17 22:56:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-17 22:56:59 | command: <data><node>node_r3a7yx0203</node><entry><content>content_fpilq40206</content></entry></data>

2021-06-17 22:56:59 | target: http://localhost:8088

2021-06-17 22:56:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-17 22:56:59 | entity: <data><node>node_r3a7yx0203</node><entry><content>content_fpilq40206</content></entry></data>

2021-06-17 22:56:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:56:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-17 22:56:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5630b1c3-1599-4817-9b39-e388ea5ae0c5</value></item-id></result>

2021-06-17 22:56:59 | contains: true

2021-06-17 22:57:05 | [Mutex] waiting for: [user_regularyawr6u0202@test-domain.com:message:received:content_fpilq40206]

2021-06-17 22:57:05 | [Mutex] received everything.

2021-06-17 22:57:05 | [Mutex] isItemNotified: user_regularyawr6u0202@test-domain.com:message:received:content_fpilq40206 :: true

2021-06-17 22:57:05 |


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


2021-06-17 22:57:05 | [Mutex] received everything.

2021-06-17 22:57:05 | [Mutex] isItemNotified: node_r3a7yx0203:subscribe_node:success :: true

2021-06-17 22:57:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-17 22:57:05 | command: <data><node>node_r3a7yx0203</node><expire-at>2021-06-18T05:57:10Z</expire-at><entry><content>content_nndien0207</content></entry></data>

2021-06-17 22:57:05 | target: http://localhost:8088

2021-06-17 22:57:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-17 22:57:05 | entity: <data><node>node_r3a7yx0203</node><expire-at>2021-06-18T05:57:10Z</expire-at><entry><content>content_nndien0207</content></entry></data>

2021-06-17 22:57:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:57:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-17 22:57:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>22ab940e-0453-49e0-81d0-57a557925024</value></item-id></result>

2021-06-17 22:57:05 | contains: true

2021-06-17 22:57:13 | [Mutex] waiting for: [user_regularyawr6u0202@test-domain.com:message:received:content_nndien0207]

2021-06-17 22:57:13 | [Mutex] waiting for: [user_regularyawr6u0202@test-domain.com:message:received:content_nndien0207]

2021-06-17 22:57:28 | [Mutex] timeout. Not received [user_regularyawr6u0202@test-domain.com:message:received:content_nndien0207]

2021-06-17 22:57:28 | [Mutex] received everything.

2021-06-17 22:57:28 | [Mutex] isItemNotified: user_regularyawr6u0202@test-domain.com:message:received:content_nndien0207 :: false

2021-06-17 22:57:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_nndien0207 :: true