Test duration : 44.546s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.555s |
2022-11-13 21:33:27 |
2022-11-13 21:33:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-11-13 21:33:27 | ------------------------------------ 2022-11-13 21:33:27 | [Mutex] isItemNotified: node_uu0pss0204:exists :: false 2022-11-13 21:33:27 | [Mutex] waiting for: [node_uu0pss0204:create_node] 2022-11-13 21:33:27 | [Mutex] received everything. 2022-11-13 21:33:27 | [Mutex] isItemNotified: node_uu0pss0204:create_node:success :: true 2022-11-13 21:33:27 | [Mutex] waiting for: [node_uu0pss0204:subscribe_node] 2022-11-13 21:33:27 | [Mutex] received everything. 2022-11-13 21:33:27 | [Mutex] isItemNotified: node_uu0pss0204:subscribe_node:success :: true 2022-11-13 21:33:27 | ===== publishing normal message (to online) 2022-11-13 21:33:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-13 21:33:27 | command: <data><node>node_uu0pss0204</node><entry><content>content_w423gw0205</content></entry></data> 2022-11-13 21:33:27 | target: http://localhost:8088 2022-11-13 21:33:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-13 21:33:27 | entity: <data><node>node_uu0pss0204</node><entry><content>content_w423gw0205</content></entry></data> 2022-11-13 21:33:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Nov 2022 05:33:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-13 21:33:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>527a12ce-a9ab-4082-ba8c-739b95d27f1e</value></item-id></result> 2022-11-13 21:33:27 | contains: true 2022-11-13 21:33:27 | [Mutex] received everything. 2022-11-13 21:33:27 | [Mutex] isItemNotified: user_regular5xjun20203@test-domain.com:message:received:content_w423gw0205 :: true 2022-11-13 21:33:27 | ===== publishing already old message - expecting message being filtered out (to online) 2022-11-13 21:33:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-13 21:33:27 | command: <data><node>node_uu0pss0204</node><expire-at>2022-11-14T05:33:22Z</expire-at><entry><content>content_of0j5h0206</content></entry></data> 2022-11-13 21:33:27 | target: http://localhost:8088 2022-11-13 21:33:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-13 21:33:27 | entity: <data><node>node_uu0pss0204</node><expire-at>2022-11-14T05:33:22Z</expire-at><entry><content>content_of0j5h0206</content></entry></data> 2022-11-13 21:33:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Nov 2022 05:33:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-13 21:33:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b469a0cb-028b-48e7-997f-c824085b47aa</value></item-id></result> 2022-11-13 21:33:27 | contains: true 2022-11-13 21:33:27 | [Mutex] waiting for: [user_regular5xjun20203@test-domain.com:message:received:content_of0j5h0206] 2022-11-13 21:33:42 | [Mutex] timeout. Not received [user_regular5xjun20203@test-domain.com:message:received:content_of0j5h0206] 2022-11-13 21:33:42 | [Mutex] isItemNotified: user_regular5xjun20203@test-domain.com:message:received:content_of0j5h0206 :: false 2022-11-13 21:33:42 | ===== publishing normal message (to offline) 2022-11-13 21:33:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-13 21:33:42 | command: <data><node>node_uu0pss0204</node><entry><content>content_azrw1s0207</content></entry></data> 2022-11-13 21:33:42 | target: http://localhost:8088 2022-11-13 21:33:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-13 21:33:42 | entity: <data><node>node_uu0pss0204</node><entry><content>content_azrw1s0207</content></entry></data> 2022-11-13 21:33:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Nov 2022 05:33:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-13 21:33:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f093ddc9-c868-4a4c-aa85-875c515f7f1d</value></item-id></result> 2022-11-13 21:33:42 | contains: true 2022-11-13 21:33:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-13 21:33:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-11-13 21:33:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-13 21:33:47 | [Mutex] waiting for: [user_regular5xjun20203@test-domain.com:message:received:content_azrw1s0207] 2022-11-13 21:33:47 | [Mutex] received everything. 2022-11-13 21:33:47 | [Mutex] isItemNotified: user_regular5xjun20203@test-domain.com:message:received:content_azrw1s0207 :: true 2022-11-13 21:33:47 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-11-13 21:33:47 | [Mutex] received everything. 2022-11-13 21:33:47 | [Mutex] isItemNotified: node_uu0pss0204:subscribe_node:success :: true 2022-11-13 21:33:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-13 21:33:47 | command: <data><node>node_uu0pss0204</node><expire-at>2022-11-14T05:33:52Z</expire-at><entry><content>content_1g5cnk0208</content></entry></data> 2022-11-13 21:33:47 | target: http://localhost:8088 2022-11-13 21:33:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-13 21:33:47 | entity: <data><node>node_uu0pss0204</node><expire-at>2022-11-14T05:33:52Z</expire-at><entry><content>content_1g5cnk0208</content></entry></data> 2022-11-13 21:33:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Nov 2022 05:33:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-13 21:33:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9afa2f1d-08eb-4643-9afc-f808739d9c30</value></item-id></result> 2022-11-13 21:33:47 | contains: true 2022-11-13 21:33:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-13 21:33:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-11-13 21:33:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-13 21:33:55 | [Mutex] waiting for: [user_regular5xjun20203@test-domain.com:message:received:content_1g5cnk0208] 2022-11-13 21:33:55 | [Mutex] waiting for: [user_regular5xjun20203@test-domain.com:message:received:content_1g5cnk0208] 2022-11-13 21:34:10 | [Mutex] timeout. Not received [user_regular5xjun20203@test-domain.com:message:received:content_1g5cnk0208] 2022-11-13 21:34:10 | [Mutex] received everything. 2022-11-13 21:34:10 | [Mutex] isItemNotified: user_regular5xjun20203@test-domain.com:message:received:content_1g5cnk0208 :: false 2022-11-13 21:34:10 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1g5cnk0208 :: true |