Test duration : 44.711s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.624s |
2022-05-19 22:38:45 |
2022-05-19 22:38:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-19 22:38:45 | ------------------------------------ 2022-05-19 22:38:45 | [Mutex] isItemNotified: node_t2pm0p0204:exists :: false 2022-05-19 22:38:45 | [Mutex] waiting for: [node_t2pm0p0204:create_node] 2022-05-19 22:38:45 | [Mutex] received everything. 2022-05-19 22:38:45 | [Mutex] isItemNotified: node_t2pm0p0204:create_node:success :: true 2022-05-19 22:38:45 | [Mutex] waiting for: [node_t2pm0p0204:subscribe_node] 2022-05-19 22:38:45 | [Mutex] received everything. 2022-05-19 22:38:45 | [Mutex] isItemNotified: node_t2pm0p0204:subscribe_node:success :: true 2022-05-19 22:38:45 | ===== publishing normal message (to online) 2022-05-19 22:38:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-19 22:38:45 | command: <data><node>node_t2pm0p0204</node><entry><content>content_s5gc5p0205</content></entry></data> 2022-05-19 22:38:45 | target: http://localhost:8088 2022-05-19 22:38:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-19 22:38:45 | entity: <data><node>node_t2pm0p0204</node><entry><content>content_s5gc5p0205</content></entry></data> 2022-05-19 22:38:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 05:38:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-19 22:38:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3776f8fe-e326-4868-adef-f334483ef9b1</value></item-id></result> 2022-05-19 22:38:45 | contains: true 2022-05-19 22:38:45 | [Mutex] received everything. 2022-05-19 22:38:45 | [Mutex] isItemNotified: user_regular4396wu0203@test-domain.com:message:received:content_s5gc5p0205 :: true 2022-05-19 22:38:45 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-19 22:38:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-19 22:38:45 | command: <data><node>node_t2pm0p0204</node><expire-at>2022-05-20T05:38:40Z</expire-at><entry><content>content_qatyi70206</content></entry></data> 2022-05-19 22:38:45 | target: http://localhost:8088 2022-05-19 22:38:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-19 22:38:45 | entity: <data><node>node_t2pm0p0204</node><expire-at>2022-05-20T05:38:40Z</expire-at><entry><content>content_qatyi70206</content></entry></data> 2022-05-19 22:38:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 05:38:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-19 22:38:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bf7fc2c3-069b-4ea8-9b26-4de31a757e47</value></item-id></result> 2022-05-19 22:38:45 | contains: true 2022-05-19 22:38:45 | [Mutex] waiting for: [user_regular4396wu0203@test-domain.com:message:received:content_qatyi70206] 2022-05-19 22:39:00 | [Mutex] timeout. Not received [user_regular4396wu0203@test-domain.com:message:received:content_qatyi70206] 2022-05-19 22:39:00 | [Mutex] isItemNotified: user_regular4396wu0203@test-domain.com:message:received:content_qatyi70206 :: false 2022-05-19 22:39:00 | ===== publishing normal message (to offline) 2022-05-19 22:39:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-19 22:39:00 | command: <data><node>node_t2pm0p0204</node><entry><content>content_oaczf10207</content></entry></data> 2022-05-19 22:39:00 | target: http://localhost:8088 2022-05-19 22:39:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-19 22:39:00 | entity: <data><node>node_t2pm0p0204</node><entry><content>content_oaczf10207</content></entry></data> 2022-05-19 22:39:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 05:39:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-19 22:39:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1324fa75-aee7-4ead-96fc-05dca3eac5c1</value></item-id></result> 2022-05-19 22:39:00 | contains: true 2022-05-19 22:39:05 | [Mutex] waiting for: [user_regular4396wu0203@test-domain.com:message:received:content_oaczf10207] 2022-05-19 22:39:05 | [Mutex] waiting for: [user_regular4396wu0203@test-domain.com:message:received:content_oaczf10207] 2022-05-19 22:39:05 | [Mutex] received everything. 2022-05-19 22:39:05 | [Mutex] isItemNotified: user_regular4396wu0203@test-domain.com:message:received:content_oaczf10207 :: true 2022-05-19 22:39:05 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-19 22:39:05 | [Mutex] received everything. 2022-05-19 22:39:05 | [Mutex] isItemNotified: node_t2pm0p0204:subscribe_node:success :: true 2022-05-19 22:39:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-19 22:39:05 | command: <data><node>node_t2pm0p0204</node><expire-at>2022-05-20T05:39:10Z</expire-at><entry><content>content_cw7e1a0208</content></entry></data> 2022-05-19 22:39:05 | target: http://localhost:8088 2022-05-19 22:39:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-19 22:39:05 | entity: <data><node>node_t2pm0p0204</node><expire-at>2022-05-20T05:39:10Z</expire-at><entry><content>content_cw7e1a0208</content></entry></data> 2022-05-19 22:39:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 05:39:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-19 22:39:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>62a4381a-0abd-41ad-94ce-e392c2855987</value></item-id></result> 2022-05-19 22:39:05 | contains: true 2022-05-19 22:39:14 | [Mutex] waiting for: [user_regular4396wu0203@test-domain.com:message:received:content_cw7e1a0208] 2022-05-19 22:39:14 | [Mutex] waiting for: [user_regular4396wu0203@test-domain.com:message:received:content_cw7e1a0208] 2022-05-19 22:39:14 | [Mutex] waiting for: [user_regular4396wu0203@test-domain.com:message:received:content_cw7e1a0208] 2022-05-19 22:39:29 | [Mutex] timeout. Not received [user_regular4396wu0203@test-domain.com:message:received:content_cw7e1a0208] 2022-05-19 22:39:29 | [Mutex] received everything. 2022-05-19 22:39:29 | [Mutex] isItemNotified: user_regular4396wu0203@test-domain.com:message:received:content_cw7e1a0208 :: false 2022-05-19 22:39:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_cw7e1a0208 :: true |