Test duration : 44.859s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.672s |
2023-07-31 22:31:21 |
2023-07-31 22:31:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-31 22:31:21 | ------------------------------------ 2023-07-31 22:31:21 | [Mutex] isItemNotified: node_xvo3740208:exists :: false 2023-07-31 22:31:21 | [Mutex] waiting for: [node_xvo3740208:create_node] 2023-07-31 22:31:21 | [Mutex] received everything. 2023-07-31 22:31:21 | [Mutex] isItemNotified: node_xvo3740208:create_node:success :: true 2023-07-31 22:31:21 | [Mutex] waiting for: [node_xvo3740208:subscribe_node] 2023-07-31 22:31:21 | [Mutex] waiting for: [node_xvo3740208:subscribe_node] 2023-07-31 22:31:21 | [Mutex] received everything. 2023-07-31 22:31:21 | [Mutex] isItemNotified: node_xvo3740208:subscribe_node:success :: true 2023-07-31 22:31:21 | ===== publishing normal message (to online) 2023-07-31 22:31:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-31 22:31:21 | command: <data><node>node_xvo3740208</node><entry><content>content_5a1i5e0209</content></entry></data> 2023-07-31 22:31:21 | target: http://localhost:8088 2023-07-31 22:31:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-31 22:31:21 | entity: <data><node>node_xvo3740208</node><entry><content>content_5a1i5e0209</content></entry></data> 2023-07-31 22:31:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Aug 2023 05:31:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-31 22:31:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9c2e48df-458b-427f-ba2e-c5b15debccf0</value></item-id></result> 2023-07-31 22:31:21 | contains: true 2023-07-31 22:31:21 | [Mutex] received everything. 2023-07-31 22:31:21 | [Mutex] isItemNotified: user_regular9rjfv30207@test-domain.com:message:received:content_5a1i5e0209 :: true 2023-07-31 22:31:21 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-31 22:31:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-31 22:31:21 | command: <data><node>node_xvo3740208</node><expire-at>2023-08-01T05:31:16Z</expire-at><entry><content>content_r3zled0210</content></entry></data> 2023-07-31 22:31:21 | target: http://localhost:8088 2023-07-31 22:31:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-31 22:31:21 | entity: <data><node>node_xvo3740208</node><expire-at>2023-08-01T05:31:16Z</expire-at><entry><content>content_r3zled0210</content></entry></data> 2023-07-31 22:31:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Aug 2023 05:31:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-31 22:31:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8beb585d-2372-46ac-828d-939f95be98dc</value></item-id></result> 2023-07-31 22:31:21 | contains: true 2023-07-31 22:31:21 | [Mutex] waiting for: [user_regular9rjfv30207@test-domain.com:message:received:content_r3zled0210] 2023-07-31 22:31:36 | [Mutex] timeout. Not received [user_regular9rjfv30207@test-domain.com:message:received:content_r3zled0210] 2023-07-31 22:31:36 | [Mutex] isItemNotified: user_regular9rjfv30207@test-domain.com:message:received:content_r3zled0210 :: false 2023-07-31 22:31:36 | ===== publishing normal message (to offline) 2023-07-31 22:31:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-31 22:31:36 | command: <data><node>node_xvo3740208</node><entry><content>content_td75oj0211</content></entry></data> 2023-07-31 22:31:36 | target: http://localhost:8088 2023-07-31 22:31:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-31 22:31:36 | entity: <data><node>node_xvo3740208</node><entry><content>content_td75oj0211</content></entry></data> 2023-07-31 22:31:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Aug 2023 05:31:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-31 22:31:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>be6a59c1-24f0-477b-b551-9a324993274d</value></item-id></result> 2023-07-31 22:31:36 | contains: true 2023-07-31 22:31:41 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-31 22:31:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-31 22:31:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-31 22:31:41 | [Mutex] waiting for: [user_regular9rjfv30207@test-domain.com:message:received:content_td75oj0211] 2023-07-31 22:31:41 | [Mutex] waiting for: [user_regular9rjfv30207@test-domain.com:message:received:content_td75oj0211] 2023-07-31 22:31:41 | [Mutex] received everything. 2023-07-31 22:31:41 | [Mutex] isItemNotified: user_regular9rjfv30207@test-domain.com:message:received:content_td75oj0211 :: true 2023-07-31 22:31:41 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-31 22:31:41 | [Mutex] received everything. 2023-07-31 22:31:41 | [Mutex] isItemNotified: node_xvo3740208:subscribe_node:success :: true 2023-07-31 22:31:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-31 22:31:41 | command: <data><node>node_xvo3740208</node><expire-at>2023-08-01T05:31:46Z</expire-at><entry><content>content_p3cjfj0212</content></entry></data> 2023-07-31 22:31:41 | target: http://localhost:8088 2023-07-31 22:31:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-31 22:31:41 | entity: <data><node>node_xvo3740208</node><expire-at>2023-08-01T05:31:46Z</expire-at><entry><content>content_p3cjfj0212</content></entry></data> 2023-07-31 22:31:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Aug 2023 05:31:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-31 22:31:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5c6fdb06-74a7-4c55-acca-f3c36ae86eb9</value></item-id></result> 2023-07-31 22:31:42 | contains: true 2023-07-31 22:31:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-31 22:31:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-31 22:31:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-31 22:31:50 | [Mutex] waiting for: [user_regular9rjfv30207@test-domain.com:message:received:content_p3cjfj0212] 2023-07-31 22:31:50 | [Mutex] waiting for: [user_regular9rjfv30207@test-domain.com:message:received:content_p3cjfj0212] 2023-07-31 22:32:05 | [Mutex] timeout. Not received [user_regular9rjfv30207@test-domain.com:message:received:content_p3cjfj0212] 2023-07-31 22:32:05 | [Mutex] received everything. 2023-07-31 22:32:05 | [Mutex] isItemNotified: user_regular9rjfv30207@test-domain.com:message:received:content_p3cjfj0212 :: false 2023-07-31 22:32:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_p3cjfj0212 :: true |