Test duration : 45.027s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.681s |
2022-06-05 22:41:16 |
2022-06-05 22:41:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-05 22:41:16 | ------------------------------------ 2022-06-05 22:41:16 | [Mutex] isItemNotified: node_cou6a70204:exists :: false 2022-06-05 22:41:16 | [Mutex] waiting for: [node_cou6a70204:create_node] 2022-06-05 22:41:16 | [Mutex] received everything. 2022-06-05 22:41:16 | [Mutex] isItemNotified: node_cou6a70204:create_node:success :: true 2022-06-05 22:41:16 | [Mutex] waiting for: [node_cou6a70204:subscribe_node] 2022-06-05 22:41:16 | [Mutex] waiting for: [node_cou6a70204:subscribe_node] 2022-06-05 22:41:16 | [Mutex] received everything. 2022-06-05 22:41:16 | [Mutex] isItemNotified: node_cou6a70204:subscribe_node:success :: true 2022-06-05 22:41:16 | ===== publishing normal message (to online) 2022-06-05 22:41:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-05 22:41:16 | command: <data><node>node_cou6a70204</node><entry><content>content_2zxain0205</content></entry></data> 2022-06-05 22:41:16 | target: http://localhost:8088 2022-06-05 22:41:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-05 22:41:16 | entity: <data><node>node_cou6a70204</node><entry><content>content_2zxain0205</content></entry></data> 2022-06-05 22:41:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Jun 2022 05:41:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-05 22:41:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>53d596ef-b572-4608-a4ba-d1162d57b1c1</value></item-id></result> 2022-06-05 22:41:16 | contains: true 2022-06-05 22:41:16 | [Mutex] received everything. 2022-06-05 22:41:16 | [Mutex] isItemNotified: user_regular5i4t4y0203@test-domain.com:message:received:content_2zxain0205 :: true 2022-06-05 22:41:16 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-05 22:41:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-05 22:41:16 | command: <data><node>node_cou6a70204</node><expire-at>2022-06-06T05:41:11Z</expire-at><entry><content>content_prubx10206</content></entry></data> 2022-06-05 22:41:16 | target: http://localhost:8088 2022-06-05 22:41:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-05 22:41:16 | entity: <data><node>node_cou6a70204</node><expire-at>2022-06-06T05:41:11Z</expire-at><entry><content>content_prubx10206</content></entry></data> 2022-06-05 22:41:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Jun 2022 05:41:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-05 22:41:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b10b98d6-c736-42e2-8497-f223d4f0fa70</value></item-id></result> 2022-06-05 22:41:16 | contains: true 2022-06-05 22:41:16 | [Mutex] waiting for: [user_regular5i4t4y0203@test-domain.com:message:received:content_prubx10206] 2022-06-05 22:41:31 | [Mutex] timeout. Not received [user_regular5i4t4y0203@test-domain.com:message:received:content_prubx10206] 2022-06-05 22:41:31 | [Mutex] isItemNotified: user_regular5i4t4y0203@test-domain.com:message:received:content_prubx10206 :: false 2022-06-05 22:41:31 | ===== publishing normal message (to offline) 2022-06-05 22:41:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-05 22:41:31 | command: <data><node>node_cou6a70204</node><entry><content>content_xpaft90207</content></entry></data> 2022-06-05 22:41:31 | target: http://localhost:8088 2022-06-05 22:41:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-05 22:41:31 | entity: <data><node>node_cou6a70204</node><entry><content>content_xpaft90207</content></entry></data> 2022-06-05 22:41:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Jun 2022 05:41:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-05 22:41:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2c9cca58-d18b-4d0d-9bbf-e49f6b7120cf</value></item-id></result> 2022-06-05 22:41:31 | contains: true 2022-06-05 22:41:36 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-05 22:41:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-05 22:41:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-05 22:41:37 | [Mutex] waiting for: [user_regular5i4t4y0203@test-domain.com:message:received:content_xpaft90207] 2022-06-05 22:41:37 | [Mutex] waiting for: [user_regular5i4t4y0203@test-domain.com:message:received:content_xpaft90207] 2022-06-05 22:41:37 | [Mutex] received everything. 2022-06-05 22:41:37 | [Mutex] isItemNotified: user_regular5i4t4y0203@test-domain.com:message:received:content_xpaft90207 :: true 2022-06-05 22:41:37 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-05 22:41:37 | [Mutex] received everything. 2022-06-05 22:41:37 | [Mutex] isItemNotified: node_cou6a70204:subscribe_node:success :: true 2022-06-05 22:41:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-05 22:41:37 | command: <data><node>node_cou6a70204</node><expire-at>2022-06-06T05:41:42Z</expire-at><entry><content>content_s0qksp0208</content></entry></data> 2022-06-05 22:41:37 | target: http://localhost:8088 2022-06-05 22:41:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-05 22:41:37 | entity: <data><node>node_cou6a70204</node><expire-at>2022-06-06T05:41:42Z</expire-at><entry><content>content_s0qksp0208</content></entry></data> 2022-06-05 22:41:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Jun 2022 05:41:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-05 22:41:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4d91861b-07a6-4736-aed6-60bea6609eb1</value></item-id></result> 2022-06-05 22:41:37 | contains: true 2022-06-05 22:41:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-05 22:41:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-05 22:41:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-05 22:41:45 | [Mutex] waiting for: [user_regular5i4t4y0203@test-domain.com:message:received:content_s0qksp0208] 2022-06-05 22:41:45 | [Mutex] waiting for: [user_regular5i4t4y0203@test-domain.com:message:received:content_s0qksp0208] 2022-06-05 22:42:00 | [Mutex] timeout. Not received [user_regular5i4t4y0203@test-domain.com:message:received:content_s0qksp0208] 2022-06-05 22:42:00 | [Mutex] received everything. 2022-06-05 22:42:00 | [Mutex] isItemNotified: user_regular5i4t4y0203@test-domain.com:message:received:content_s0qksp0208 :: false 2022-06-05 22:42:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_s0qksp0208 :: true |