chargein / resttester Goto Github PK
View Code? Open in Web Editor NEWA simple IntelliJ Plugin to rest apis
License: Other
A simple IntelliJ Plugin to rest apis
License: Other
java.lang.NullPointerException: Cannot invoke "com.flop.resttester.requesttree.RequestTreeNode.getIndex(javax.swing.tree.TreeNode)" because "parent" is null
at com.flop.resttester.requesttree.RequestTreeHandler.deleteNode(RequestTreeHandler.java:317)
at com.flop.resttester.RestTesterWindow.lambda$setupRemoveButton$2(RestTesterWindow.java:170)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6648)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3392)
at com.flop.resttester.components.ActionButton.processMouseEvent(ActionButton.java:48)
at java.desktop/java.awt.Component.processEvent(Component.java:6413)
at java.desktop/java.awt.Container.processEvent(Container.java:2266)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5022)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4854)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2802)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4854)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:781)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:754)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:752)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:751)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:909)
at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:831)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:753)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$5(IdeEventQueue.java:437)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:772)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:436)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)
at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:615)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:434)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:813)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:480)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Variables are currently only supported in the url but not the header and params view.
Add support for it.
Add a button similar to the insomnia import, which allows importing postman save files.
If no state is set the variable table does not show any rows.
Value "Item ID" results in "Item+ID" instead of "Item%20ID".
Besides that, awesome work!
I have a working solution for adding checkboxes to request headers.
Headers are included in the request only if they are enabled via checkbox and have non-empty keys. Empty values are allowed.
This allows for easier testing of various headers without having to delete and rewrite them each time.
How do I push my solution for a review? I was unable to push my branch for a review since I don't have the correct access rights.
Next goal is to make this work for query params.
One issue I ran into is adjusting the size of the checkbox to match the size of the delete button. All values of Dimension
resulted in the same default checkbox size.
Expected:
Do not change the URL that is requested by the user.
Using white spaces in the request url is forbidden.
Automatically replace illegal characters in queries with their escaped counterparts
Issues with PATCH http requests
java.lang.Throwable: TreeUI should be accessed only from EDT
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376)
at com.intellij.ui.tree.ui.DefaultTreeUI.isValid(DefaultTreeUI.java:216)
at com.intellij.ui.tree.ui.DefaultTreeUI.getRowForPath(DefaultTreeUI.java:766)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI.updateLeadSelectionRow(BasicTreeUI.java:2847)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(BasicTreeUI.java:2013)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI.updateLayoutCacheExpandedNodes(BasicTreeUI.java:1979)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI.updateLayoutCacheExpandedNodesIfNecessary(BasicTreeUI.java:1986)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI.configureLayoutCache(BasicTreeUI.java:2132)
at com.intellij.ui.tree.ui.DefaultTreeUI.configureLayoutCache(DefaultTreeUI.java:454)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI.completeUIInstall(BasicTreeUI.java:840)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI.installUI(BasicTreeUI.java:800)
at java.desktop/javax.swing.JComponent.setUI(JComponent.java:733)
at java.desktop/javax.swing.JTree.setUI(JTree.java:760)
at com.intellij.ui.treeStructure.Tree.setUI(Tree.java:128)
at java.desktop/javax.swing.JTree.updateUI(JTree.java:781)
at com.flop.resttester.requesttree.RequestTreeHandler.updateTree(RequestTreeHandler.java:276)
at com.flop.resttester.RestTesterWindow$1.onChange(RestTesterWindow.java:69)
at com.flop.resttester.request.RequestWindow.changeCallback(RequestWindow.java:233)
at com.flop.resttester.utils.Debouncer$1.run(Debouncer.java:40)
at java.base/java.util.TimerThread.mainLoop(Timer.java:566)
at java.base/java.util.TimerThread.run(Timer.java:516)
Currently it is only possible to pick from the global authentication options for each request.
Extend the logic to allow authentication based on the request.
E.g. this could be done by adding a "Custom" option to the drop down menu, which adds two inputs to the settings panel when selected.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.