Test duration : 44.514s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.657s |
2022-09-23 06:50:27 |
2022-09-23 06:50:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-23 06:50:27 | ------------------------------------ 2022-09-23 06:50:27 | [Mutex] isItemNotified: node_1iw4vo0204:exists :: false 2022-09-23 06:50:27 | [Mutex] waiting for: [node_1iw4vo0204:create_node] 2022-09-23 06:50:28 | [Mutex] waiting for: [node_1iw4vo0204:create_node] 2022-09-23 06:50:28 | [Mutex] received everything. 2022-09-23 06:50:28 | [Mutex] isItemNotified: node_1iw4vo0204:create_node:success :: true 2022-09-23 06:50:28 | [Mutex] waiting for: [node_1iw4vo0204:subscribe_node] 2022-09-23 06:50:28 | [Mutex] waiting for: [node_1iw4vo0204:subscribe_node] 2022-09-23 06:50:28 | [Mutex] received everything. 2022-09-23 06:50:28 | [Mutex] isItemNotified: node_1iw4vo0204:subscribe_node:success :: true 2022-09-23 06:50:28 | ===== publishing normal message (to online) 2022-09-23 06:50:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-23 06:50:28 | command: <data><node>node_1iw4vo0204</node><entry><content>content_rtde7e0205</content></entry></data> 2022-09-23 06:50:28 | target: http://localhost:8088 2022-09-23 06:50:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-23 06:50:28 | entity: <data><node>node_1iw4vo0204</node><entry><content>content_rtde7e0205</content></entry></data> 2022-09-23 06:50:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 13:50:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-23 06:50:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>85d228f5-747a-41a7-b502-84c8c61ac05a</value></item-id></result> 2022-09-23 06:50:28 | contains: true 2022-09-23 06:50:28 | [Mutex] received everything. 2022-09-23 06:50:28 | [Mutex] isItemNotified: user_regular41ttvs0203@test-domain.com:message:received:content_rtde7e0205 :: true 2022-09-23 06:50:28 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-23 06:50:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-23 06:50:28 | command: <data><node>node_1iw4vo0204</node><expire-at>2022-09-23T13:50:23Z</expire-at><entry><content>content_zf3uzy0206</content></entry></data> 2022-09-23 06:50:28 | target: http://localhost:8088 2022-09-23 06:50:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-23 06:50:28 | entity: <data><node>node_1iw4vo0204</node><expire-at>2022-09-23T13:50:23Z</expire-at><entry><content>content_zf3uzy0206</content></entry></data> 2022-09-23 06:50:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 13:50:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-23 06:50:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f6ed7a2c-24c1-40a3-90dd-f505a8b43674</value></item-id></result> 2022-09-23 06:50:28 | contains: true 2022-09-23 06:50:28 | [Mutex] waiting for: [user_regular41ttvs0203@test-domain.com:message:received:content_zf3uzy0206] 2022-09-23 06:50:43 | [Mutex] timeout. Not received [user_regular41ttvs0203@test-domain.com:message:received:content_zf3uzy0206] 2022-09-23 06:50:43 | [Mutex] isItemNotified: user_regular41ttvs0203@test-domain.com:message:received:content_zf3uzy0206 :: false 2022-09-23 06:50:43 | ===== publishing normal message (to offline) 2022-09-23 06:50:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-23 06:50:43 | command: <data><node>node_1iw4vo0204</node><entry><content>content_t1mbea0207</content></entry></data> 2022-09-23 06:50:43 | target: http://localhost:8088 2022-09-23 06:50:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-23 06:50:43 | entity: <data><node>node_1iw4vo0204</node><entry><content>content_t1mbea0207</content></entry></data> 2022-09-23 06:50:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 13:50:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-23 06:50:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>55cafeb1-4def-405a-8d92-7447fdc83f60</value></item-id></result> 2022-09-23 06:50:43 | contains: true 2022-09-23 06:50:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-23 06:50:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-23 06:50:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-23 06:50:48 | [Mutex] waiting for: [user_regular41ttvs0203@test-domain.com:message:received:content_t1mbea0207] 2022-09-23 06:50:48 | [Mutex] received everything. 2022-09-23 06:50:48 | [Mutex] isItemNotified: user_regular41ttvs0203@test-domain.com:message:received:content_t1mbea0207 :: true 2022-09-23 06:50:48 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-23 06:50:48 | [Mutex] received everything. 2022-09-23 06:50:48 | [Mutex] isItemNotified: node_1iw4vo0204:subscribe_node:success :: true 2022-09-23 06:50:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-23 06:50:48 | command: <data><node>node_1iw4vo0204</node><expire-at>2022-09-23T13:50:53Z</expire-at><entry><content>content_btbmie0208</content></entry></data> 2022-09-23 06:50:48 | target: http://localhost:8088 2022-09-23 06:50:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-23 06:50:48 | entity: <data><node>node_1iw4vo0204</node><expire-at>2022-09-23T13:50:53Z</expire-at><entry><content>content_btbmie0208</content></entry></data> 2022-09-23 06:50:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 13:50:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-23 06:50:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d4f7c12d-766d-42b3-8783-80d13e5957b4</value></item-id></result> 2022-09-23 06:50:48 | contains: true 2022-09-23 06:50:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-23 06:50:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-23 06:50:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-23 06:50:56 | [Mutex] waiting for: [user_regular41ttvs0203@test-domain.com:message:received:content_btbmie0208] 2022-09-23 06:50:56 | [Mutex] waiting for: [user_regular41ttvs0203@test-domain.com:message:received:content_btbmie0208] 2022-09-23 06:50:56 | [Mutex] waiting for: [user_regular41ttvs0203@test-domain.com:message:received:content_btbmie0208] 2022-09-23 06:51:11 | [Mutex] timeout. Not received [user_regular41ttvs0203@test-domain.com:message:received:content_btbmie0208] 2022-09-23 06:51:11 | [Mutex] received everything. 2022-09-23 06:51:11 | [Mutex] isItemNotified: user_regular41ttvs0203@test-domain.com:message:received:content_btbmie0208 :: false 2022-09-23 06:51:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_btbmie0208 :: true |