Test duration : 44.889s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.689s |
2022-08-29 22:33:47 |
2022-08-29 22:33:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-29 22:33:47 | ------------------------------------ 2022-08-29 22:33:47 | [Mutex] isItemNotified: node_g413ed0204:exists :: false 2022-08-29 22:33:47 | [Mutex] waiting for: [node_g413ed0204:create_node] 2022-08-29 22:33:47 | [Mutex] received everything. 2022-08-29 22:33:47 | [Mutex] isItemNotified: node_g413ed0204:create_node:success :: true 2022-08-29 22:33:47 | [Mutex] waiting for: [node_g413ed0204:subscribe_node] 2022-08-29 22:33:47 | [Mutex] waiting for: [node_g413ed0204:subscribe_node] 2022-08-29 22:33:47 | [Mutex] received everything. 2022-08-29 22:33:47 | [Mutex] isItemNotified: node_g413ed0204:subscribe_node:success :: true 2022-08-29 22:33:47 | ===== publishing normal message (to online) 2022-08-29 22:33:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-29 22:33:47 | command: <data><node>node_g413ed0204</node><entry><content>content_ak3sx50205</content></entry></data> 2022-08-29 22:33:47 | target: http://localhost:8088 2022-08-29 22:33:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-29 22:33:47 | entity: <data><node>node_g413ed0204</node><entry><content>content_ak3sx50205</content></entry></data> 2022-08-29 22:33:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 Aug 2022 05:33:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-29 22:33:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>13f5c1c1-ca6e-4e4e-9025-59549ef03344</value></item-id></result> 2022-08-29 22:33:47 | contains: true 2022-08-29 22:33:47 | [Mutex] received everything. 2022-08-29 22:33:47 | [Mutex] isItemNotified: user_regulariawq2y0203@test-domain.com:message:received:content_ak3sx50205 :: true 2022-08-29 22:33:47 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-29 22:33:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-29 22:33:47 | command: <data><node>node_g413ed0204</node><expire-at>2022-08-30T05:33:42Z</expire-at><entry><content>content_n4jkrx0206</content></entry></data> 2022-08-29 22:33:47 | target: http://localhost:8088 2022-08-29 22:33:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-29 22:33:47 | entity: <data><node>node_g413ed0204</node><expire-at>2022-08-30T05:33:42Z</expire-at><entry><content>content_n4jkrx0206</content></entry></data> 2022-08-29 22:33:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 Aug 2022 05:33:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-29 22:33:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cd91af59-081f-4292-be3b-9fd4a36c2823</value></item-id></result> 2022-08-29 22:33:47 | contains: true 2022-08-29 22:33:47 | [Mutex] waiting for: [user_regulariawq2y0203@test-domain.com:message:received:content_n4jkrx0206] 2022-08-29 22:34:02 | [Mutex] timeout. Not received [user_regulariawq2y0203@test-domain.com:message:received:content_n4jkrx0206] 2022-08-29 22:34:02 | [Mutex] isItemNotified: user_regulariawq2y0203@test-domain.com:message:received:content_n4jkrx0206 :: false 2022-08-29 22:34:02 | ===== publishing normal message (to offline) 2022-08-29 22:34:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-29 22:34:02 | command: <data><node>node_g413ed0204</node><entry><content>content_vxyiqb0207</content></entry></data> 2022-08-29 22:34:02 | target: http://localhost:8088 2022-08-29 22:34:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-29 22:34:02 | entity: <data><node>node_g413ed0204</node><entry><content>content_vxyiqb0207</content></entry></data> 2022-08-29 22:34:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 Aug 2022 05:34:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-29 22:34:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4652edde-9d14-47c2-8f8c-d27e3f5931a7</value></item-id></result> 2022-08-29 22:34:02 | contains: true 2022-08-29 22:34:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-29 22:34:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-29 22:34:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-29 22:34:07 | [Mutex] waiting for: [user_regulariawq2y0203@test-domain.com:message:received:content_vxyiqb0207] 2022-08-29 22:34:07 | [Mutex] received everything. 2022-08-29 22:34:07 | [Mutex] isItemNotified: user_regulariawq2y0203@test-domain.com:message:received:content_vxyiqb0207 :: true 2022-08-29 22:34:07 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-29 22:34:07 | [Mutex] received everything. 2022-08-29 22:34:07 | [Mutex] isItemNotified: node_g413ed0204:subscribe_node:success :: true 2022-08-29 22:34:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-29 22:34:07 | command: <data><node>node_g413ed0204</node><expire-at>2022-08-30T05:34:12Z</expire-at><entry><content>content_o4bwis0208</content></entry></data> 2022-08-29 22:34:07 | target: http://localhost:8088 2022-08-29 22:34:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-29 22:34:07 | entity: <data><node>node_g413ed0204</node><expire-at>2022-08-30T05:34:12Z</expire-at><entry><content>content_o4bwis0208</content></entry></data> 2022-08-29 22:34:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 Aug 2022 05:34:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-29 22:34:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1b160f66-cb03-479b-9e16-b284b104e48b</value></item-id></result> 2022-08-29 22:34:07 | contains: true 2022-08-29 22:34:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-29 22:34:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-29 22:34:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-29 22:34:15 | [Mutex] waiting for: [user_regulariawq2y0203@test-domain.com:message:received:content_o4bwis0208] 2022-08-29 22:34:30 | [Mutex] timeout. Not received [user_regulariawq2y0203@test-domain.com:message:received:content_o4bwis0208] 2022-08-29 22:34:30 | [Mutex] received everything. 2022-08-29 22:34:30 | [Mutex] isItemNotified: user_regulariawq2y0203@test-domain.com:message:received:content_o4bwis0208 :: false 2022-08-29 22:34:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_o4bwis0208 :: true |