Test duration : 44.790s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.604s |
2022-06-30 23:11:53 |
2022-06-30 23:11:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-30 23:11:53 | ------------------------------------ 2022-06-30 23:11:53 | [Mutex] isItemNotified: node_wflaed0204:exists :: false 2022-06-30 23:11:53 | [Mutex] waiting for: [node_wflaed0204:create_node] 2022-06-30 23:11:53 | [Mutex] received everything. 2022-06-30 23:11:53 | [Mutex] isItemNotified: node_wflaed0204:create_node:success :: true 2022-06-30 23:11:53 | [Mutex] waiting for: [node_wflaed0204:subscribe_node] 2022-06-30 23:11:53 | [Mutex] waiting for: [node_wflaed0204:subscribe_node] 2022-06-30 23:11:53 | [Mutex] received everything. 2022-06-30 23:11:53 | [Mutex] isItemNotified: node_wflaed0204:subscribe_node:success :: true 2022-06-30 23:11:53 | ===== publishing normal message (to online) 2022-06-30 23:11:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-30 23:11:53 | command: <data><node>node_wflaed0204</node><entry><content>content_jylz4v0205</content></entry></data> 2022-06-30 23:11:53 | target: http://localhost:8088 2022-06-30 23:11:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-30 23:11:53 | entity: <data><node>node_wflaed0204</node><entry><content>content_jylz4v0205</content></entry></data> 2022-06-30 23:11:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Jul 2022 06:11:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-30 23:11:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a0c46582-0164-476f-90fb-45538ead1c9f</value></item-id></result> 2022-06-30 23:11:53 | contains: true 2022-06-30 23:11:53 | [Mutex] received everything. 2022-06-30 23:11:53 | [Mutex] isItemNotified: user_regularqpva110203@test-domain.com:message:received:content_jylz4v0205 :: true 2022-06-30 23:11:53 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-30 23:11:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-30 23:11:53 | command: <data><node>node_wflaed0204</node><expire-at>2022-07-01T06:11:48Z</expire-at><entry><content>content_aqu3ex0206</content></entry></data> 2022-06-30 23:11:53 | target: http://localhost:8088 2022-06-30 23:11:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-30 23:11:53 | entity: <data><node>node_wflaed0204</node><expire-at>2022-07-01T06:11:48Z</expire-at><entry><content>content_aqu3ex0206</content></entry></data> 2022-06-30 23:11:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Jul 2022 06:11:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-30 23:11:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e58d8ba4-d3cf-4cca-a93e-fbb782e10c8d</value></item-id></result> 2022-06-30 23:11:53 | contains: true 2022-06-30 23:11:53 | [Mutex] waiting for: [user_regularqpva110203@test-domain.com:message:received:content_aqu3ex0206] 2022-06-30 23:12:08 | [Mutex] timeout. Not received [user_regularqpva110203@test-domain.com:message:received:content_aqu3ex0206] 2022-06-30 23:12:08 | [Mutex] isItemNotified: user_regularqpva110203@test-domain.com:message:received:content_aqu3ex0206 :: false 2022-06-30 23:12:08 | ===== publishing normal message (to offline) 2022-06-30 23:12:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-30 23:12:08 | command: <data><node>node_wflaed0204</node><entry><content>content_uh33d30207</content></entry></data> 2022-06-30 23:12:08 | target: http://localhost:8088 2022-06-30 23:12:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-30 23:12:08 | entity: <data><node>node_wflaed0204</node><entry><content>content_uh33d30207</content></entry></data> 2022-06-30 23:12:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Jul 2022 06:12:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-30 23:12:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6a9a9fdc-1555-414c-b9b3-999682ea63a8</value></item-id></result> 2022-06-30 23:12:08 | contains: true 2022-06-30 23:12:13 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-30 23:12:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-30 23:12:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-30 23:12:14 | [Mutex] waiting for: [user_regularqpva110203@test-domain.com:message:received:content_uh33d30207] 2022-06-30 23:12:14 | [Mutex] received everything. 2022-06-30 23:12:14 | [Mutex] isItemNotified: user_regularqpva110203@test-domain.com:message:received:content_uh33d30207 :: true 2022-06-30 23:12:14 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-30 23:12:14 | [Mutex] received everything. 2022-06-30 23:12:14 | [Mutex] isItemNotified: node_wflaed0204:subscribe_node:success :: true 2022-06-30 23:12:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-30 23:12:14 | command: <data><node>node_wflaed0204</node><expire-at>2022-07-01T06:12:19Z</expire-at><entry><content>content_d9hxp10208</content></entry></data> 2022-06-30 23:12:14 | target: http://localhost:8088 2022-06-30 23:12:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-30 23:12:14 | entity: <data><node>node_wflaed0204</node><expire-at>2022-07-01T06:12:19Z</expire-at><entry><content>content_d9hxp10208</content></entry></data> 2022-06-30 23:12:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Jul 2022 06:12:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-30 23:12:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ce4812bd-eede-4fd1-b77f-5bfb98dc1456</value></item-id></result> 2022-06-30 23:12:14 | contains: true 2022-06-30 23:12:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-30 23:12:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-30 23:12:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-30 23:12:22 | [Mutex] waiting for: [user_regularqpva110203@test-domain.com:message:received:content_d9hxp10208] 2022-06-30 23:12:22 | [Mutex] waiting for: [user_regularqpva110203@test-domain.com:message:received:content_d9hxp10208] 2022-06-30 23:12:22 | [Mutex] waiting for: [user_regularqpva110203@test-domain.com:message:received:content_d9hxp10208] 2022-06-30 23:12:37 | [Mutex] timeout. Not received [user_regularqpva110203@test-domain.com:message:received:content_d9hxp10208] 2022-06-30 23:12:37 | [Mutex] received everything. 2022-06-30 23:12:37 | [Mutex] isItemNotified: user_regularqpva110203@test-domain.com:message:received:content_d9hxp10208 :: false 2022-06-30 23:12:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_d9hxp10208 :: true |