Test duration : 44.797s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.567s |
2022-08-22 22:33:15 |
2022-08-22 22:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-22 22:33:15 | ------------------------------------ 2022-08-22 22:33:15 | [Mutex] isItemNotified: node_6h0ksx0204:exists :: false 2022-08-22 22:33:15 | [Mutex] waiting for: [node_6h0ksx0204:create_node] 2022-08-22 22:33:15 | [Mutex] received everything. 2022-08-22 22:33:15 | [Mutex] isItemNotified: node_6h0ksx0204:create_node:success :: true 2022-08-22 22:33:15 | [Mutex] waiting for: [node_6h0ksx0204:subscribe_node] 2022-08-22 22:33:15 | [Mutex] received everything. 2022-08-22 22:33:15 | [Mutex] isItemNotified: node_6h0ksx0204:subscribe_node:success :: true 2022-08-22 22:33:15 | ===== publishing normal message (to online) 2022-08-22 22:33:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-22 22:33:15 | command: <data><node>node_6h0ksx0204</node><entry><content>content_ppe03l0205</content></entry></data> 2022-08-22 22:33:15 | target: http://localhost:8088 2022-08-22 22:33:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-22 22:33:15 | entity: <data><node>node_6h0ksx0204</node><entry><content>content_ppe03l0205</content></entry></data> 2022-08-22 22:33:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 23 Aug 2022 05:33:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-22 22:33:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dc78311d-3653-4afd-8f63-d2ea912fffe3</value></item-id></result> 2022-08-22 22:33:15 | contains: true 2022-08-22 22:33:15 | [Mutex] received everything. 2022-08-22 22:33:15 | [Mutex] isItemNotified: user_regularr3qy3o0203@test-domain.com:message:received:content_ppe03l0205 :: true 2022-08-22 22:33:15 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-22 22:33:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-22 22:33:15 | command: <data><node>node_6h0ksx0204</node><expire-at>2022-08-23T05:33:10Z</expire-at><entry><content>content_cigork0206</content></entry></data> 2022-08-22 22:33:15 | target: http://localhost:8088 2022-08-22 22:33:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-22 22:33:15 | entity: <data><node>node_6h0ksx0204</node><expire-at>2022-08-23T05:33:10Z</expire-at><entry><content>content_cigork0206</content></entry></data> 2022-08-22 22:33:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 23 Aug 2022 05:33:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-22 22:33:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>614c63aa-d6a1-4a21-814a-6cbe6c6319e2</value></item-id></result> 2022-08-22 22:33:15 | contains: true 2022-08-22 22:33:15 | [Mutex] waiting for: [user_regularr3qy3o0203@test-domain.com:message:received:content_cigork0206] 2022-08-22 22:33:30 | [Mutex] timeout. Not received [user_regularr3qy3o0203@test-domain.com:message:received:content_cigork0206] 2022-08-22 22:33:30 | [Mutex] isItemNotified: user_regularr3qy3o0203@test-domain.com:message:received:content_cigork0206 :: false 2022-08-22 22:33:30 | ===== publishing normal message (to offline) 2022-08-22 22:33:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-22 22:33:30 | command: <data><node>node_6h0ksx0204</node><entry><content>content_kp54l60207</content></entry></data> 2022-08-22 22:33:30 | target: http://localhost:8088 2022-08-22 22:33:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-22 22:33:30 | entity: <data><node>node_6h0ksx0204</node><entry><content>content_kp54l60207</content></entry></data> 2022-08-22 22:33:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 23 Aug 2022 05:33:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-22 22:33:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fbedf66b-63f7-47cc-97d3-d64401325be5</value></item-id></result> 2022-08-22 22:33:30 | contains: true 2022-08-22 22:33:35 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-22 22:33:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-22 22:33:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-22 22:33:35 | [Mutex] waiting for: [user_regularr3qy3o0203@test-domain.com:message:received:content_kp54l60207] 2022-08-22 22:33:35 | [Mutex] received everything. 2022-08-22 22:33:35 | [Mutex] isItemNotified: user_regularr3qy3o0203@test-domain.com:message:received:content_kp54l60207 :: true 2022-08-22 22:33:35 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-22 22:33:35 | [Mutex] received everything. 2022-08-22 22:33:35 | [Mutex] isItemNotified: node_6h0ksx0204:subscribe_node:success :: true 2022-08-22 22:33:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-22 22:33:35 | command: <data><node>node_6h0ksx0204</node><expire-at>2022-08-23T05:33:40Z</expire-at><entry><content>content_4lk1do0208</content></entry></data> 2022-08-22 22:33:35 | target: http://localhost:8088 2022-08-22 22:33:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-22 22:33:35 | entity: <data><node>node_6h0ksx0204</node><expire-at>2022-08-23T05:33:40Z</expire-at><entry><content>content_4lk1do0208</content></entry></data> 2022-08-22 22:33:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 23 Aug 2022 05:33:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-22 22:33:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>18919396-0e38-4c9b-8704-b1ae6d3e4cc2</value></item-id></result> 2022-08-22 22:33:35 | contains: true 2022-08-22 22:33:43 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-22 22:33:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-22 22:33:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-22 22:33:43 | [Mutex] waiting for: [user_regularr3qy3o0203@test-domain.com:message:received:content_4lk1do0208] 2022-08-22 22:33:58 | [Mutex] timeout. Not received [user_regularr3qy3o0203@test-domain.com:message:received:content_4lk1do0208] 2022-08-22 22:33:58 | [Mutex] received everything. 2022-08-22 22:33:58 | [Mutex] isItemNotified: user_regularr3qy3o0203@test-domain.com:message:received:content_4lk1do0208 :: false 2022-08-22 22:33:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4lk1do0208 :: true |