Test duration : 44.612s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.629s |
2022-06-14 22:33:29 |
2022-06-14 22:33:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-14 22:33:29 | ------------------------------------ 2022-06-14 22:33:29 | [Mutex] isItemNotified: node_kbroyh0204:exists :: false 2022-06-14 22:33:29 | [Mutex] waiting for: [node_kbroyh0204:create_node] 2022-06-14 22:33:29 | [Mutex] received everything. 2022-06-14 22:33:29 | [Mutex] isItemNotified: node_kbroyh0204:create_node:success :: true 2022-06-14 22:33:29 | [Mutex] waiting for: [node_kbroyh0204:subscribe_node] 2022-06-14 22:33:29 | [Mutex] received everything. 2022-06-14 22:33:29 | [Mutex] isItemNotified: node_kbroyh0204:subscribe_node:success :: true 2022-06-14 22:33:29 | ===== publishing normal message (to online) 2022-06-14 22:33:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-14 22:33:29 | command: <data><node>node_kbroyh0204</node><entry><content>content_m9tepc0205</content></entry></data> 2022-06-14 22:33:29 | target: http://localhost:8088 2022-06-14 22:33:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-14 22:33:29 | entity: <data><node>node_kbroyh0204</node><entry><content>content_m9tepc0205</content></entry></data> 2022-06-14 22:33:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Jun 2022 05:33:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-14 22:33:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5357bf10-d75d-465e-82a2-81805ee07c20</value></item-id></result> 2022-06-14 22:33:29 | contains: true 2022-06-14 22:33:29 | [Mutex] received everything. 2022-06-14 22:33:29 | [Mutex] isItemNotified: user_regular74xfrl0203@test-domain.com:message:received:content_m9tepc0205 :: true 2022-06-14 22:33:29 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-14 22:33:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-14 22:33:29 | command: <data><node>node_kbroyh0204</node><expire-at>2022-06-15T05:33:24Z</expire-at><entry><content>content_b6dbop0206</content></entry></data> 2022-06-14 22:33:29 | target: http://localhost:8088 2022-06-14 22:33:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-14 22:33:29 | entity: <data><node>node_kbroyh0204</node><expire-at>2022-06-15T05:33:24Z</expire-at><entry><content>content_b6dbop0206</content></entry></data> 2022-06-14 22:33:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Jun 2022 05:33:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-14 22:33:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5cfeef1b-5cd9-4ad8-b8e1-d356cf78cc61</value></item-id></result> 2022-06-14 22:33:29 | contains: true 2022-06-14 22:33:29 | [Mutex] waiting for: [user_regular74xfrl0203@test-domain.com:message:received:content_b6dbop0206] 2022-06-14 22:33:44 | [Mutex] timeout. Not received [user_regular74xfrl0203@test-domain.com:message:received:content_b6dbop0206] 2022-06-14 22:33:44 | [Mutex] isItemNotified: user_regular74xfrl0203@test-domain.com:message:received:content_b6dbop0206 :: false 2022-06-14 22:33:44 | ===== publishing normal message (to offline) 2022-06-14 22:33:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-14 22:33:45 | command: <data><node>node_kbroyh0204</node><entry><content>content_o6hq460207</content></entry></data> 2022-06-14 22:33:45 | target: http://localhost:8088 2022-06-14 22:33:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-14 22:33:45 | entity: <data><node>node_kbroyh0204</node><entry><content>content_o6hq460207</content></entry></data> 2022-06-14 22:33:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Jun 2022 05:33:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-14 22:33:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>98da7199-5369-47ed-9eea-08e102720591</value></item-id></result> 2022-06-14 22:33:45 | contains: true 2022-06-14 22:33:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-14 22:33:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-14 22:33:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-14 22:33:50 | [Mutex] waiting for: [user_regular74xfrl0203@test-domain.com:message:received:content_o6hq460207] 2022-06-14 22:33:50 | [Mutex] waiting for: [user_regular74xfrl0203@test-domain.com:message:received:content_o6hq460207] 2022-06-14 22:33:50 | [Mutex] received everything. 2022-06-14 22:33:50 | [Mutex] isItemNotified: user_regular74xfrl0203@test-domain.com:message:received:content_o6hq460207 :: true 2022-06-14 22:33:50 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-14 22:33:50 | [Mutex] received everything. 2022-06-14 22:33:50 | [Mutex] isItemNotified: node_kbroyh0204:subscribe_node:success :: true 2022-06-14 22:33:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-14 22:33:50 | command: <data><node>node_kbroyh0204</node><expire-at>2022-06-15T05:33:55Z</expire-at><entry><content>content_r2royl0208</content></entry></data> 2022-06-14 22:33:50 | target: http://localhost:8088 2022-06-14 22:33:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-14 22:33:50 | entity: <data><node>node_kbroyh0204</node><expire-at>2022-06-15T05:33:55Z</expire-at><entry><content>content_r2royl0208</content></entry></data> 2022-06-14 22:33:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Jun 2022 05:33:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-14 22:33:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>449e7d00-20a3-40fa-bf86-bfaf2f8c43a6</value></item-id></result> 2022-06-14 22:33:50 | contains: true 2022-06-14 22:33:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-14 22:33:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-14 22:33:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-14 22:33:58 | [Mutex] waiting for: [user_regular74xfrl0203@test-domain.com:message:received:content_r2royl0208] 2022-06-14 22:33:58 | [Mutex] waiting for: [user_regular74xfrl0203@test-domain.com:message:received:content_r2royl0208] 2022-06-14 22:33:58 | [Mutex] waiting for: [user_regular74xfrl0203@test-domain.com:message:received:content_r2royl0208] 2022-06-14 22:34:13 | [Mutex] timeout. Not received [user_regular74xfrl0203@test-domain.com:message:received:content_r2royl0208] 2022-06-14 22:34:13 | [Mutex] received everything. 2022-06-14 22:34:13 | [Mutex] isItemNotified: user_regular74xfrl0203@test-domain.com:message:received:content_r2royl0208 :: false 2022-06-14 22:34:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_r2royl0208 :: true |