Test duration : 45.267s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.721s |
2020-09-28 22:41:58 |
2020-09-28 22:41:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-28 22:41:58 | ------------------------------------ 2020-09-28 22:41:58 | [Mutex] isItemNotified: node_herp4y0203:exists :: false 2020-09-28 22:41:58 | [Mutex] waiting for: [node_herp4y0203:create_node] 2020-09-28 22:41:58 | [Mutex] received everything. 2020-09-28 22:41:58 | [Mutex] isItemNotified: node_herp4y0203:create_node:success :: true 2020-09-28 22:41:58 | [Mutex] waiting for: [node_herp4y0203:subscribe_node] 2020-09-28 22:41:58 | [Mutex] waiting for: [node_herp4y0203:subscribe_node] 2020-09-28 22:41:58 | [Mutex] received everything. 2020-09-28 22:41:58 | [Mutex] isItemNotified: node_herp4y0203:subscribe_node:success :: true 2020-09-28 22:41:58 | ===== publishing normal message (to online) 2020-09-28 22:41:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-28 22:41:58 | command: <data><node>node_herp4y0203</node><entry><content>content_944d2y0204</content></entry></data> 2020-09-28 22:41:58 | target: http://localhost:8088 2020-09-28 22:41:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-28 22:41:58 | entity: <data><node>node_herp4y0203</node><entry><content>content_944d2y0204</content></entry></data> 2020-09-28 22:41:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Sep 2020 05:41:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-28 22:41:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>67d910b1-1ad9-4936-a406-843957e5a0cf</value></item-id></result> 2020-09-28 22:41:58 | contains: true 2020-09-28 22:41:58 | [Mutex] received everything. 2020-09-28 22:41:58 | [Mutex] isItemNotified: user_regular34jtum0202@test-domain.com:message:received:content_944d2y0204 :: true 2020-09-28 22:41:58 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-28 22:41:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-28 22:41:58 | command: <data><node>node_herp4y0203</node><expire-at>2020-09-29T05:41:53Z</expire-at><entry><content>content_e313460205</content></entry></data> 2020-09-28 22:41:58 | target: http://localhost:8088 2020-09-28 22:41:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-28 22:41:58 | entity: <data><node>node_herp4y0203</node><expire-at>2020-09-29T05:41:53Z</expire-at><entry><content>content_e313460205</content></entry></data> 2020-09-28 22:41:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Sep 2020 05:41:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-28 22:41:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5954bd90-26a3-4b1f-b2f1-0a6a48eb6586</value></item-id></result> 2020-09-28 22:41:58 | contains: true 2020-09-28 22:41:58 | [Mutex] waiting for: [user_regular34jtum0202@test-domain.com:message:received:content_e313460205] 2020-09-28 22:42:13 | [Mutex] timeout. Not received [user_regular34jtum0202@test-domain.com:message:received:content_e313460205] 2020-09-28 22:42:13 | [Mutex] isItemNotified: user_regular34jtum0202@test-domain.com:message:received:content_e313460205 :: false 2020-09-28 22:42:13 | ===== publishing normal message (to offline) 2020-09-28 22:42:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-28 22:42:13 | command: <data><node>node_herp4y0203</node><entry><content>content_cqy9le0206</content></entry></data> 2020-09-28 22:42:13 | target: http://localhost:8088 2020-09-28 22:42:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-28 22:42:13 | entity: <data><node>node_herp4y0203</node><entry><content>content_cqy9le0206</content></entry></data> 2020-09-28 22:42:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Sep 2020 05:42:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-28 22:42:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3d0034e4-6b60-4d8b-bc31-3d732d305cd4</value></item-id></result> 2020-09-28 22:42:13 | contains: true 2020-09-28 22:42:18 | [Mutex] waiting for: [user_regular34jtum0202@test-domain.com:message:received:content_cqy9le0206] 2020-09-28 22:42:18 | [Mutex] received everything. 2020-09-28 22:42:18 | [Mutex] isItemNotified: user_regular34jtum0202@test-domain.com:message:received:content_cqy9le0206 :: true 2020-09-28 22:42:18 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-28 22:42:18 | [Mutex] received everything. 2020-09-28 22:42:18 | [Mutex] isItemNotified: node_herp4y0203:subscribe_node:success :: true 2020-09-28 22:42:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-28 22:42:18 | command: <data><node>node_herp4y0203</node><expire-at>2020-09-29T05:42:23Z</expire-at><entry><content>content_1owlpa0207</content></entry></data> 2020-09-28 22:42:18 | target: http://localhost:8088 2020-09-28 22:42:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-28 22:42:18 | entity: <data><node>node_herp4y0203</node><expire-at>2020-09-29T05:42:23Z</expire-at><entry><content>content_1owlpa0207</content></entry></data> 2020-09-28 22:42:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Sep 2020 05:42:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-28 22:42:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1b25711e-276d-4afa-942b-efcdb977b218</value></item-id></result> 2020-09-28 22:42:18 | contains: true 2020-09-28 22:42:27 | [Mutex] waiting for: [user_regular34jtum0202@test-domain.com:message:received:content_1owlpa0207] 2020-09-28 22:42:27 | [Mutex] waiting for: [user_regular34jtum0202@test-domain.com:message:received:content_1owlpa0207] 2020-09-28 22:42:42 | [Mutex] timeout. Not received [user_regular34jtum0202@test-domain.com:message:received:content_1owlpa0207] 2020-09-28 22:42:42 | [Mutex] received everything. 2020-09-28 22:42:42 | [Mutex] isItemNotified: user_regular34jtum0202@test-domain.com:message:received:content_1owlpa0207 :: false 2020-09-28 22:42:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1owlpa0207 :: true |