Test duration : 44.769s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.588s |
2023-02-27 21:29:32 |
2023-02-27 21:29:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-02-27 21:29:32 | ------------------------------------ 2023-02-27 21:29:32 | [Mutex] isItemNotified: node_mk4xkz0204:exists :: false 2023-02-27 21:29:32 | [Mutex] waiting for: [node_mk4xkz0204:create_node] 2023-02-27 21:29:32 | [Mutex] received everything. 2023-02-27 21:29:32 | [Mutex] isItemNotified: node_mk4xkz0204:create_node:success :: true 2023-02-27 21:29:32 | [Mutex] waiting for: [node_mk4xkz0204:subscribe_node] 2023-02-27 21:29:32 | [Mutex] waiting for: [node_mk4xkz0204:subscribe_node] 2023-02-27 21:29:32 | [Mutex] received everything. 2023-02-27 21:29:32 | [Mutex] isItemNotified: node_mk4xkz0204:subscribe_node:success :: true 2023-02-27 21:29:32 | ===== publishing normal message (to online) 2023-02-27 21:29:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-27 21:29:32 | command: <data><node>node_mk4xkz0204</node><entry><content>content_ni636x0205</content></entry></data> 2023-02-27 21:29:32 | target: http://localhost:8088 2023-02-27 21:29:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-27 21:29:32 | entity: <data><node>node_mk4xkz0204</node><entry><content>content_ni636x0205</content></entry></data> 2023-02-27 21:29:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 05:29:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-27 21:29:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>394450a1-93a2-46be-9788-82cd932b4b83</value></item-id></result> 2023-02-27 21:29:32 | contains: true 2023-02-27 21:29:32 | [Mutex] received everything. 2023-02-27 21:29:32 | [Mutex] isItemNotified: user_regular5bg2p50203@test-domain.com:message:received:content_ni636x0205 :: true 2023-02-27 21:29:32 | ===== publishing already old message - expecting message being filtered out (to online) 2023-02-27 21:29:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-27 21:29:32 | command: <data><node>node_mk4xkz0204</node><expire-at>2023-02-28T05:29:27Z</expire-at><entry><content>content_tsz400206</content></entry></data> 2023-02-27 21:29:32 | target: http://localhost:8088 2023-02-27 21:29:32 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2023-02-27 21:29:32 | entity: <data><node>node_mk4xkz0204</node><expire-at>2023-02-28T05:29:27Z</expire-at><entry><content>content_tsz400206</content></entry></data> 2023-02-27 21:29:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 05:29:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-27 21:29:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1e710918-3e01-423c-b3f0-20bbc4d2b936</value></item-id></result> 2023-02-27 21:29:32 | contains: true 2023-02-27 21:29:32 | [Mutex] waiting for: [user_regular5bg2p50203@test-domain.com:message:received:content_tsz400206] 2023-02-27 21:29:47 | [Mutex] timeout. Not received [user_regular5bg2p50203@test-domain.com:message:received:content_tsz400206] 2023-02-27 21:29:47 | [Mutex] isItemNotified: user_regular5bg2p50203@test-domain.com:message:received:content_tsz400206 :: false 2023-02-27 21:29:47 | ===== publishing normal message (to offline) 2023-02-27 21:29:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-27 21:29:47 | command: <data><node>node_mk4xkz0204</node><entry><content>content_lcmums0207</content></entry></data> 2023-02-27 21:29:47 | target: http://localhost:8088 2023-02-27 21:29:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-27 21:29:47 | entity: <data><node>node_mk4xkz0204</node><entry><content>content_lcmums0207</content></entry></data> 2023-02-27 21:29:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 05:29:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-27 21:29:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5ab1a948-bcc8-4a59-b793-b7d213966fa3</value></item-id></result> 2023-02-27 21:29:47 | contains: true 2023-02-27 21:29:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-27 21:29:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-02-27 21:29:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-27 21:29:52 | [Mutex] waiting for: [user_regular5bg2p50203@test-domain.com:message:received:content_lcmums0207] 2023-02-27 21:29:52 | [Mutex] waiting for: [user_regular5bg2p50203@test-domain.com:message:received:content_lcmums0207] 2023-02-27 21:29:52 | [Mutex] received everything. 2023-02-27 21:29:52 | [Mutex] isItemNotified: user_regular5bg2p50203@test-domain.com:message:received:content_lcmums0207 :: true 2023-02-27 21:29:52 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-02-27 21:29:52 | [Mutex] received everything. 2023-02-27 21:29:52 | [Mutex] isItemNotified: node_mk4xkz0204:subscribe_node:success :: true 2023-02-27 21:29:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-27 21:29:52 | command: <data><node>node_mk4xkz0204</node><expire-at>2023-02-28T05:29:57Z</expire-at><entry><content>content_nkuesu0208</content></entry></data> 2023-02-27 21:29:52 | target: http://localhost:8088 2023-02-27 21:29:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-27 21:29:52 | entity: <data><node>node_mk4xkz0204</node><expire-at>2023-02-28T05:29:57Z</expire-at><entry><content>content_nkuesu0208</content></entry></data> 2023-02-27 21:29:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Feb 2023 05:29:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-27 21:29:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1016c2f9-10ef-47eb-b36e-74b7d910c5a1</value></item-id></result> 2023-02-27 21:29:52 | contains: true 2023-02-27 21:30:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-27 21:30:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-02-27 21:30:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-27 21:30:00 | [Mutex] waiting for: [user_regular5bg2p50203@test-domain.com:message:received:content_nkuesu0208] 2023-02-27 21:30:15 | [Mutex] timeout. Not received [user_regular5bg2p50203@test-domain.com:message:received:content_nkuesu0208] 2023-02-27 21:30:15 | [Mutex] received everything. 2023-02-27 21:30:15 | [Mutex] isItemNotified: user_regular5bg2p50203@test-domain.com:message:received:content_nkuesu0208 :: false 2023-02-27 21:30:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_nkuesu0208 :: true |